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

CVE-2026-33131: H3 Framework Auth Bypass Vulnerability

CVE-2026-33131 is an authentication bypass flaw in H3 framework caused by Host header spoofing that allows attackers to bypass middleware protection. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-33131 Overview

CVE-2026-33131 is a Host Header Spoofing vulnerability affecting H3, a minimal HTTP framework for Node.js. The vulnerability exists in the NodeRequestUrl class (which extends FastURL) and allows attackers to bypass authentication and authorization middleware through crafted Host headers. When event.url, event.url.hostname, or event.url._url properties are accessed in middleware—such as logging middleware—the _url getter constructs a URL from untrusted data, including the user-controlled Host header.

Due to H3's router resolving the route handler before middleware execution, an attacker can supply a specially crafted Host header (e.g., Host: localhost:3000/abchehe?) to cause middleware path checks to fail while the route handler still matches, effectively bypassing security controls.

Critical Impact

This vulnerability enables authentication and authorization bypass in any application built on H3 (including Nitro/Nuxt) that relies on middleware to guard sensitive routes using event.url properties.

Affected Products

  • H3 version 2.0.0
  • H3 versions 2.0.1-rc.2 through 2.0.1-rc.14
  • Applications built on Nitro/Nuxt using affected H3 versions

Discovery Timeline

  • 2026-03-20 - CVE-2026-33131 published to NVD
  • 2026-03-20 - Last updated in NVD database

Technical Details for CVE-2026-33131

Vulnerability Analysis

This Host Header Spoofing vulnerability (CWE-290: Authentication Bypass by Spoofing) exploits a fundamental flaw in how H3 processes URL construction. The issue stems from the framework's use of unsanitized, attacker-controlled input when constructing the FastURL.href property. The vulnerability is particularly dangerous because H3's routing architecture resolves route handlers before middleware runs, creating a race condition where security middleware can be bypassed while the actual route still processes the request.

The attack is network-accessible and requires no authentication or user interaction to exploit, making it highly accessible to remote attackers. Successful exploitation can lead to unauthorized access to protected endpoints and potential data compromise.

Root Cause

The root cause lies in the NodeRequestUrl class's _url getter, which constructs URLs using untrusted data from the HTTP Host header without proper validation or sanitization. When middleware accesses event.url properties for path-based authorization checks, the manipulated Host header causes path matching to fail, even though the underlying route handler correctly matches the request.

This design flaw violates the principle of never trusting client-controlled input for security-critical decisions. The middleware receives a different URL path interpretation than the router, creating a security boundary mismatch.

Attack Vector

The attack exploits the discrepancy between how middleware interprets the URL path and how the router resolves handlers. An attacker sends a request with a crafted Host header containing path components and query string terminators:

The vulnerability is exploited by manipulating the Host header to include path-like components. For example, an attacker targeting a protected /admin endpoint might send a request with Host: localhost:3000/public? header. The middleware's path check sees the manipulated URL and may interpret the path as /public, allowing the request to pass authorization checks. Meanwhile, the router (which resolved before middleware) correctly routes to the actual /admin handler.

This attack requires no special privileges and can be executed with standard HTTP request tools. For detailed technical information, see the H3 Security Advisory.

Detection Methods for CVE-2026-33131

Indicators of Compromise

  • HTTP requests with Host headers containing path separators (/) or query string characters (?)
  • Unusual Host header values that don't match expected domain patterns
  • Access logs showing requests to protected endpoints without corresponding authentication logs
  • Host headers containing localhost references with appended path components

Detection Strategies

  • Implement WAF rules to detect and block Host headers containing path traversal characters or query strings
  • Monitor for requests where the Host header contains characters outside typical hostname patterns (e.g., /, ?, #)
  • Create alerts for access to sensitive routes from Host headers that don't match configured virtual hosts
  • Review middleware logs for authentication/authorization decisions that contradict route access patterns

Monitoring Recommendations

  • Enable detailed logging for all middleware authentication decisions, including the raw Host header value
  • Set up anomaly detection for Host headers that deviate from expected patterns
  • Monitor for increased 401/403 errors followed by successful access to the same endpoints
  • Implement request correlation to identify discrepancies between middleware path interpretation and actual route accessed

How to Mitigate CVE-2026-33131

Immediate Actions Required

  • Upgrade H3 to version 2.0.1-rc.15 or later immediately
  • Audit all middleware that uses event.url, event.url.hostname, or event.url._url for path-based security decisions
  • Implement Host header validation at the reverse proxy or load balancer level
  • Review access logs for evidence of exploitation attempts using malformed Host headers

Patch Information

The H3 team has addressed this vulnerability in version 2.0.1-rc.15. The fix ensures that FastURL.href is no longer constructed with unsanitized, attacker-controlled input from the Host header. Users should update their H3 dependency immediately by running the appropriate package manager command for their environment.

For additional details, refer to the GitHub Security Advisory GHSA-3vj8-jmxq-cgj5.

Workarounds

  • Deploy a reverse proxy (nginx, Caddy, HAProxy) that validates and normalizes Host headers before passing requests to H3
  • Implement explicit Host header validation middleware that runs before any path-based security checks
  • Configure your infrastructure to reject requests with Host headers not matching allowed domains
  • Use route-level authentication decorators instead of relying solely on path-matching middleware
bash
# Example nginx configuration to validate Host headers
# Add to your server block
if ($http_host ~ "[/?#]") {
    return 400;
}

# Alternatively, explicitly whitelist allowed Host values
map $http_host $valid_host {
    default 0;
    "example.com" 1;
    "www.example.com" 1;
}

server {
    if ($valid_host = 0) {
        return 400;
    }
    # ... rest of configuration
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechH3

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-290
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33129: H3 Framework Auth Bypass Vulnerability

  • CVE-2026-33490: H3 Framework Privilege Escalation Flaw

  • CVE-2026-33128: H3 Framework SSE Injection Vulnerability

  • CVE-2026-23527: H3 Framework HTTP Smuggling 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