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-29045

CVE-2026-29045: Hono Framework Auth Bypass Vulnerability

CVE-2026-29045 is an authentication bypass flaw in Hono Web framework that allows attackers to access protected static resources without authorization. This article covers the technical details, affected versions, and patches.

Published: March 6, 2026

CVE-2026-29045 Overview

CVE-2026-29045 is an authorization bypass vulnerability in the Hono Web application framework, which provides support for any JavaScript runtime. Prior to version 4.12.4, a URL decoding inconsistency between the router and serveStatic middleware allowed attackers to bypass route-based middleware protections and access protected static resources without authorization.

The vulnerability stems from a mismatch in how different components decode URL paths: the router uses decodeURI, while serveStatic uses decodeURIComponent. This inconsistency allows paths containing encoded slashes (%2F) to bypass middleware protections while still resolving to the intended filesystem path.

Critical Impact

Attackers can bypass authentication and authorization middleware to access protected static resources, potentially exposing sensitive files and administrative content without proper credentials.

Affected Products

  • Hono Web Framework versions prior to 4.12.4
  • Applications using serveStatic with route-based middleware protections (e.g., app.use('/admin/*', ...))
  • Deployments across any JavaScript runtime environment (Node.js, Deno, Bun, Cloudflare Workers, etc.)

Discovery Timeline

  • 2026-03-04 - CVE-2026-29045 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2026-29045

Vulnerability Analysis

This authorization bypass vulnerability (CWE-177: Improper Handling of URL Encoding) occurs due to inconsistent URL decoding behavior between Hono's router and its serveStatic middleware. When developers configure route-based middleware protections to secure static resources, the framework's internal components process URL-encoded characters differently, creating a security gap that can be exploited to circumvent access controls.

The router component utilizes decodeURI for path decoding, which preserves certain encoded characters that have special meaning in URLs (such as /, ?, #). In contrast, the serveStatic middleware employs decodeURIComponent, which decodes all percent-encoded characters including the forward slash (%2F). This behavioral difference means a request path can pass through the router without matching a protected route pattern, yet still resolve to a protected filesystem path when processed by serveStatic.

The vulnerability is exploitable remotely without authentication, making it particularly dangerous for applications that rely on middleware-based access control for sensitive static resources such as administrative dashboards, configuration files, or confidential documents.

Root Cause

The root cause is the use of two different URL decoding functions (decodeURI vs decodeURIComponent) within the same request processing pipeline. The decodeURI function is designed to decode a complete URI while preserving URI-reserved characters, whereas decodeURIComponent decodes all percent-encoded characters.

When a path like /admin%2Fsecret.html is processed, the router sees it as a single path segment (not matching /admin/*), but serveStatic decodes %2F to /, resolving the path to /admin/secret.html on the filesystem. This allows attackers to craft specially encoded URLs that evade route matching while still accessing protected resources.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying protected static resources served behind route-based middleware (e.g., /admin/* routes protected by authentication middleware)
  2. Crafting a request with encoded forward slashes (%2F) in the URL path
  3. Sending the request to bypass the middleware protection while still accessing the target resource

For example, if an application protects /admin/* with authentication middleware, an attacker could request /admin%2Fsecret-config.json. The router would not match this against the /admin/* pattern (treating it as a single segment), bypassing the authentication middleware. However, serveStatic would decode the path and serve the file from admin/secret-config.json.

The vulnerability mechanism involves exploiting the encoding mismatch. When a protected path like /admin/secret.html is encoded as /admin%2Fsecret.html, the router's decodeURI function preserves the %2F sequence, causing the path to not match the /admin/* middleware pattern. Subsequently, serveStatic uses decodeURIComponent which converts %2F to /, resolving to the protected filesystem path. For detailed technical information, see the GitHub Security Advisory.

Detection Methods for CVE-2026-29045

Indicators of Compromise

  • HTTP request logs containing URL-encoded forward slashes (%2F) in paths that target protected directories
  • Access logs showing requests to sensitive static resources without corresponding authentication events
  • Unusual patterns of static file access that bypass expected middleware logging
  • HTTP 200 responses for protected resources to unauthenticated sessions

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing %2F encoding in path segments
  • Configure server-side logging to capture and alert on URL-encoded path traversal patterns
  • Deploy runtime application security monitoring to identify middleware bypass attempts
  • Review access logs for static file requests that lack corresponding authentication middleware execution traces

Monitoring Recommendations

  • Enable verbose access logging on Hono applications to capture full request URLs including encoded characters
  • Set up alerting for unusual access patterns to protected static resource directories
  • Monitor for reconnaissance activity targeting administrative or sensitive static file paths
  • Implement anomaly detection for requests with atypical URL encoding patterns

How to Mitigate CVE-2026-29045

Immediate Actions Required

  • Upgrade Hono to version 4.12.4 or later immediately
  • Audit application routes to identify any serveStatic usage combined with route-based middleware protections
  • Review access logs for evidence of exploitation attempts using encoded path characters
  • Consider implementing additional server-level access controls for sensitive static resources as a defense-in-depth measure

Patch Information

The vulnerability has been patched in Hono version 4.12.4. The fix ensures consistent URL decoding behavior between the router and serveStatic middleware, preventing the bypass condition. The patch can be reviewed in the GitHub commit.

To apply the patch, update the Hono dependency in your project:

For npm: npm update hono@4.12.4
For yarn: yarn upgrade hono@4.12.4
For pnpm: pnpm update hono@4.12.4

Workarounds

  • Implement server-level (nginx, Apache, Cloudflare) URL normalization rules that decode and reject requests with path traversal patterns before they reach the application
  • Add custom middleware at the application entry point that normalizes URL encoding before route matching occurs
  • Move sensitive static files behind an API endpoint with explicit authorization checks rather than relying on filesystem-based serveStatic
  • Use explicit route definitions for sensitive static resources instead of wildcard middleware patterns
bash
# Example nginx configuration to block encoded slashes
location / {
    # Deny requests containing encoded slashes
    if ($request_uri ~* "%2[Ff]") {
        return 400;
    }
    proxy_pass http://your-hono-app;
}

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 Score7.5

  • EPSS Probability0.03%

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

  • GitHub Security Advisory
  • 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