A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-48710

CVE-2026-48710: Starlette Auth Bypass Vulnerability

CVE-2026-48710 is an authentication bypass flaw in Starlette ASGI framework caused by unvalidated Host headers. Attackers can bypass security restrictions in middleware and endpoints. This article covers technical details, affected versions, impact, and mitigation steps.

Published: May 28, 2026

CVE-2026-48710 Overview

CVE-2026-48710 is a security bypass vulnerability in Starlette, a lightweight Python ASGI framework widely used as the foundation for FastAPI and similar web stacks. Versions prior to 1.0.1 fail to validate the HTTP Host request header before using it to reconstruct request.url. Because Starlette's router relies on the raw HTTP path while request.url is rebuilt from the Host header, a malformed header can cause request.url.path to diverge from the path that was actually requested. Middleware and endpoints that enforce security restrictions based on request.url rather than the raw ASGI scope path can be bypassed. The issue is tracked under [CWE-444] (Inconsistent Interpretation of HTTP Requests).

Critical Impact

Attackers can craft malformed Host headers to bypass URL-based access controls in middleware, accessing routes that should be restricted.

Affected Products

  • Starlette ASGI framework versions prior to 1.0.1
  • Python web applications built on Starlette
  • FastAPI and other frameworks that embed Starlette as a dependency

Discovery Timeline

  • 2026-05-26 - CVE-2026-48710 published to NVD
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2026-48710

Vulnerability Analysis

Starlette exposes two representations of the requested URL. The ASGI scope dictionary carries the raw path as parsed from the wire, while request.url is a convenience object rebuilt at access time. The reconstruction concatenates the scheme, the value of the Host header, and the raw path without validating that the Host header conforms to RFC 9112 §3.2 or RFC 3986 §3.2.2 grammar.

When an attacker supplies a malformed Host header containing characters such as additional path separators, query delimiters, or fragment markers, the parsed request.url.path no longer matches the path the router used to dispatch the request. Any middleware that inspects request.url.path to decide whether to allow the request, including admin gating, CSRF checks, or rate limiting, sees a different value than the endpoint that ultimately executes.

Root Cause

The defect is an HTTP request interpretation inconsistency [CWE-444] in starlette/datastructures.py. The URL construction logic trusts the Host header verbatim. Two components of the same application reach different conclusions about the same request, which is the canonical condition for request smuggling and security check evasion.

Attack Vector

Exploitation requires only network access to the target application. The attacker issues an HTTP request to a permitted path while supplying a crafted Host header that, when concatenated into a URL, produces a request.url.path referencing a protected resource, or vice versa. No authentication or user interaction is required.

python
# Patch excerpt from starlette/datastructures.py
# Source: https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6

from __future__ import annotations

import re
from collections.abc import ItemsView, Iterable, Iterator, KeysView, Mapping, MutableMapping, Sequence, ValuesView
from shlex import shlex
from typing import Any, BinaryIO, NamedTuple, TypeVar, cast
from urllib.parse import SplitResult, parse_qsl, urlencode, urlsplit

from starlette.concurrency import run_in_threadpool

The fix introduces the re module to validate the Host header against RFC 9112 §3.2 and RFC 3986 §3.2.2 grammar. Malformed values trigger a fallback to scope["server"] when constructing request.url. See the GitHub Security Advisory GHSA-86qp-5c8j-p5mr and the X41-Dsec advisory for full technical details.

Detection Methods for CVE-2026-48710

Indicators of Compromise

  • HTTP requests with Host headers containing reserved URL characters such as /, ?, #, or whitespace.
  • Host header values exceeding expected length or containing multiple colons outside the standard host:port form.
  • Access log entries where the request path and the host-derived URL components disagree after normalization.

Detection Strategies

  • Compare the raw ASGI scope["path"] against request.url.path in application logs and alert on mismatches.
  • Configure upstream reverse proxies, WAFs, or load balancers to reject requests whose Host header does not match the RFC 9112 host grammar.
  • Add structured logging for the Host header and downstream authorization decisions to enable retroactive hunting.

Monitoring Recommendations

  • Track 200-response access to administrative endpoints originating from requests with unusual Host values.
  • Monitor dependency manifests (requirements.txt, pyproject.toml, poetry.lock) for Starlette versions earlier than 1.0.1.
  • Alert on FastAPI or Starlette applications that have not been redeployed since the patch publication date of 2026-05-26.

How to Mitigate CVE-2026-48710

Immediate Actions Required

  • Upgrade Starlette to version 1.0.1 or later across all production and staging environments.
  • Audit middleware and route guards that read request.url and refactor them to consume the raw scope["path"] instead.
  • Re-test access control assertions after upgrading to confirm that protected routes remain inaccessible with malformed Host headers.

Patch Information

The fix is delivered in Starlette 1.0.1 via commit 764dab0. The patch validates the Host header against the grammar of RFC 9112 §3.2 and RFC 3986 §3.2.2 when constructing request.url, and falls back to scope["server"] when the header is malformed. Additional context is available in the OSTIF disclosure post and the Python Advisory Database entry PYSEC-2026-161.

Workarounds

  • Place a reverse proxy such as NGINX or Envoy in front of the application and reject requests with non-conforming Host headers.
  • Rewrite security middleware to authorize on scope["path"] and the raw scope["headers"] host entry rather than request.url.
  • Pin the dependency to a fixed version in lockfiles to prevent unpatched deployments from regressing.
bash
# Upgrade Starlette to the patched release
pip install --upgrade 'starlette>=1.0.1'

# Verify the installed version
python -c "import starlette; print(starlette.__version__)"

# Example NGINX guard rejecting malformed Host headers
# Place in the server block fronting the ASGI application
if ($http_host !~* "^[A-Za-z0-9.\-]+(:[0-9]+)?$") {
    return 400;
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechStarlette

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-444
  • Technical References
  • BadHost Organization Resource

  • GitHub Commit Update

  • GitHub Security Advisory

  • Python Advisory Database

  • OSTIF BadHost Vulnerability Disclosure

  • SecWest Starlette Overview

  • X41-Dsec Advisory on Starlette
  • Related CVEs
  • CVE-2025-54121: Starlette ASGI Framework DoS Vulnerability

  • CVE-2025-62727: Starlette ASGI Framework DoS Vulnerability

  • CVE-2024-47874: Starlette ASGI Framework DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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