Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-22818

CVE-2026-22818: Hono JWT Auth Bypass Vulnerability

CVE-2026-22818 is a JWT authentication bypass flaw in Hono Web framework that enables JWT algorithm confusion attacks, allowing forged tokens to be accepted. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2026-22818 Overview

CVE-2026-22818 is a JWT algorithm confusion vulnerability in the Hono Web application framework that affects the JWK/JWKS JWT verification middleware. Prior to version 4.11.4, a flaw in Hono's JWT verification process allowed the algorithm specified in the JWT header to influence signature verification when the selected JWK did not explicitly define an algorithm. This could enable JWT algorithm confusion attacks and, in certain configurations, allow forged tokens to be accepted by applications relying on Hono's authentication middleware.

Critical Impact

This vulnerability allows attackers to potentially bypass JWT authentication by exploiting algorithm confusion, enabling forged tokens to be accepted as valid. This could lead to unauthorized access to protected resources and impersonation of legitimate users.

Affected Products

  • Hono Web application framework versions prior to 4.11.4
  • Applications using Hono's JWK/JWKS JWT verification middleware
  • Any JavaScript runtime using vulnerable Hono versions (Node.js, Deno, Bun, Cloudflare Workers, etc.)

Discovery Timeline

  • 2026-01-13 - CVE-2026-22818 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2026-22818

Vulnerability Analysis

This vulnerability stems from improper cryptographic signature verification (CWE-347) in the JWT validation process. The core issue lies in how Hono's JWK/JWKS middleware determined which algorithm to use for signature verification. When a JSON Web Key (JWK) in the key set did not explicitly specify an algorithm (alg parameter), the middleware incorrectly allowed the algorithm claim from the untrusted JWT header to influence the verification process.

JWT algorithm confusion attacks exploit this behavior by allowing an attacker to craft a malicious token that specifies a different algorithm than what the server intends to use. For example, an attacker could potentially trick the server into using a symmetric algorithm (like HS256) with a public key that was meant for asymmetric verification (like RS256), effectively using the public key as the HMAC secret.

Root Cause

The root cause is the middleware's failure to enforce explicit algorithm allowlisting for JWT verification. When processing JWKs without an explicit alg parameter, the verification logic improperly derived the algorithm from the JWT header's alg claim—an untrusted, attacker-controlled value. This violates a fundamental security principle: cryptographic algorithm selection must always be controlled by the server, never by untrusted input.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can craft a malicious JWT with a manipulated algorithm header and submit it to any endpoint protected by the vulnerable Hono JWT middleware. If the server's JWK configuration does not explicitly define algorithms, the forged token may be accepted as valid, granting unauthorized access.

The attack flow involves:

  1. Obtaining a valid public key or JWK from the target application
  2. Crafting a JWT with a manipulated alg header claim
  3. Signing the token using the confused algorithm (e.g., using the public key as an HMAC secret)
  4. Submitting the forged token to the protected endpoint

The security patch introduces explicit type definitions for asymmetric algorithms and requires an allowlist for verification:

typescript
 }
 
 export type SignatureAlgorithm = keyof typeof AlgorithmTypes
+
+export type SymmetricAlgorithm = 'HS256' | 'HS384' | 'HS512'
+
+export type AsymmetricAlgorithm =
+  | 'RS256'
+  | 'RS384'
+  | 'RS512'
+  | 'PS256'
+  | 'PS384'
+  | 'PS512'
+  | 'ES256'
+  | 'ES384'
+  | 'ES512'
+  | 'EdDSA'

Source: GitHub Commit Update

Detection Methods for CVE-2026-22818

Indicators of Compromise

  • Unusual JWT tokens with unexpected or mismatched algorithm headers appearing in application logs
  • Authentication success events for users who should not have valid credentials
  • JWT tokens signed with symmetric algorithms (HS256, HS384, HS512) when the application only uses asymmetric keys
  • Access pattern anomalies from accounts that have not authenticated through normal login flows

Detection Strategies

  • Monitor JWT validation logs for algorithm mismatches between expected and received values
  • Implement logging for all JWT verification attempts, including the algorithm specified in the token header
  • Review application dependencies to identify Hono versions prior to 4.11.4
  • Audit JWK configurations to identify keys without explicit alg parameters

Monitoring Recommendations

  • Enable detailed logging for authentication middleware to capture JWT header information
  • Set up alerts for JWT verification failures that indicate potential algorithm confusion attempts
  • Monitor for unexpected changes in authentication patterns or access to protected resources
  • Implement anomaly detection for API endpoints protected by JWT authentication

How to Mitigate CVE-2026-22818

Immediate Actions Required

  • Upgrade Hono to version 4.11.4 or later immediately
  • Review all JWK configurations and ensure every key explicitly defines the alg parameter
  • Audit application authentication logs for signs of exploitation
  • Consider rotating signing keys after upgrading as a precautionary measure

Patch Information

The vulnerability has been fixed in Hono version 4.11.4. The patch updates the JWK/JWKS JWT verification middleware to require an explicit allowlist of asymmetric algorithms when verifying tokens. The middleware no longer derives the verification algorithm from untrusted JWT header values.

For detailed information about the fix, refer to the GitHub Security Advisory GHSA-3vhc-576x-3qv4 and the commit implementing the security patch.

Workarounds

  • Ensure all JWKs in your key set explicitly define the alg parameter matching the intended algorithm
  • Implement additional application-level validation to verify JWT algorithms match expected values before processing
  • If immediate upgrade is not possible, add middleware to reject tokens with unexpected algorithm claims
  • Consider implementing token binding or other additional authentication factors as defense-in-depth
bash
# Configuration example
# Update Hono to the patched version
npm update hono@4.11.4

# Or install specifically
npm install hono@^4.11.4

# Verify the installed version
npm list hono

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechHono

  • SeverityHIGH

  • CVSS Score8.2

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-347
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-3vhc-576x-3qv4
  • Related CVEs
  • CVE-2026-39410: Hono Framework Auth Bypass Vulnerability

  • CVE-2026-39406: Hono Node.js Auth Bypass Vulnerability

  • CVE-2026-39409: Hono Auth Bypass Vulnerability

  • CVE-2026-29087: Hono Node Server Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English