MediumNews
FastAPI-based AI tools exposed to authentication bypass by flaw in Starlette framework
- Published
- Record updated
Summary
A single malformed character in the Host header lets an unauthenticated attacker bypass host-validation protections in Starlette, the Python framework underlying FastAPI, tracked as CVE-2026-48710. Starlette rebuilds the request URL by joining the Host header to the path, and a slash, question mark or hash in the Host header shifts where the path begins, so middleware reads a different path than the one routed. Researchers at X41 D-Sec rated the flaw 7.0 (High), while Starlette's maintainer rated it 6.5 (Moderate), and they said downstream applications built on FastAPI, including AI model-serving tools, gateways and MCP servers, can be affected.
Topics
Related items
- HighCVE-2026-136267 - Improper neutralization of special elements used in an OS command in Kiro WebSimilar attack · AWS Security Bulletins
- InfoThe AI Threat Horizon: Why Speed, Edge AI and Baselines Are Our Best DefenseSimilar attack · Palo Alto Unit 42
- MediumInside Agentic Offensive Frameworks: Intent IDsSimilar attack · Wiz Research Blog
- InfoPrompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic saysSimilar attack · CSO Online
- MediumCVE-2026-136641: Pydantic AI Harness PlaywrightBrowser egress policy bypass via WebRTCSimilar attack · NVD/CVE Database