← All reports

The BadHost vulnerability in Starlette allows attackers to bypass host-based security with a single character insertion, enabling authentication bypass, SSRF, and RCE attacks on LLM infrastructure.

SecurityAIPythonMay 27, 2026score 0.172 posts · 0 replies across 1 instances
The thread discusses a critical security vulnerability (CVE-2026-48710) in Starlette, a core library for FastAPI and other Python LLM frameworks, which allows attackers to bypass host-based security through a single character insertion. The vulnerability enables authentication bypass, SSRF, and RCE attacks, posing a serious threat to LLM infrastructure and AI services. The thread emphasizes the need for immediate patching and mitigation strategies such as using request.scope["path"] and deploying reverse proxies.

Claims

The BadHost vulnerability in Starlette allows attackers to bypass host-based security with a single character insertion, enabling authentication bypass, SSRF, and RCE attacks on LLM infrastructure.
Parent: AIEntity: LLM InfrastructureImpact: negativeDate: May 27, 2026Target: The security of LLM infrastructure
The BadHost vulnerability in Starlette (CVE-2026-48710) is a critical security flaw that allows attackers to bypass host-based security through a single character insertion, leading to potential exploitation of LLM infrastructure.
Parent: SecurityEntity: Software VulnerabilitySub-entity: CVE-2026-48710Impact: negativeDate: May 27, 2026Target: The severity of the BadHost vulnerability
The BadHost vulnerability in Starlette affects FastAPI and other Python LLM frameworks, making them susceptible to authentication bypass, SSRF, and RCE attacks.
Parent: PythonEntity: FastAPIImpact: negativeDate: May 27, 2026Target: The security of FastAPI and related Python frameworks

Source posts

@[email protected]
BadHost: One Char Bypasses Host-Based Security Across the Python AI Stack Python AI 생태계에서 FastAPI의 핵심 라이브러리인 Starlette의 호스트 헤더 처리 취약점(CVE-2026-48710, BadHost)이 발견됐다. 단일 문자 삽입만으로 경로 기반 인증 우회, SSRF, 원격 코드 실행 등이 가능해 LLM 인프라와 AI 서비스에 심각한 보안 위협을 준다. 취약점은 Starlette 1.0.1 버전에서 패치되었으나, CVSS 점수는 실제 영향보다 낮게 평가되어 생태계 전반에 경고가 부족했다. 운영자는 즉시 패치 적용과 함께 request.url 대신 request.scope["path"] 사용, 역방향 프록시 배치 등 방어 조치를 권고한다. https://www.secwest.net/starlette #security #python #fastapi #starlette #llm
0 boosts · 0 favs · 0 replies · May 27, 2026
#security#python#fastapi#starlette#llm
@[email protected]
Disclosing the Badhost Vulnerability in Starlette Starlette의 BadHost 취약점(CVE-2026-48710)은 HTTP Host 헤더의 입력 검증 부족으로 인해 FastAPI, LiteLLM, vLLM 등 주요 Python LLM 인프라에서 인증 우회, SSRF, RCE 공격이 가능하다. 이 취약점은 Starlette 1.0.1 버전으로 업데이트하거나 request.url.path 대신 request.scope["path"]를 사용하는 방식으로 완화할 수 있다. BadHost.org와 X41 D-Sec에서 제공하는 도구로 취약점 점검이 가능하며, HTTP/1.1 준수 리버스 프록시 배치도 권장된다. https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette/ #starlette #security #vulnerability #llm #fastapi
0 boosts · 0 favs · 0 replies · May 27, 2026
#starlette#security#vulnerability#llm#fastapi