CVE-2026-49468:
LiteLLM 취약성 분석 및 완화
개요
CVE-2026-49468 is an authentication bypass vulnerability in the LiteLLM proxy caused by a Host header parsing flaw, allowing unauthenticated attackers to access protected management routes under specific conditions. It affects all LiteLLM versions prior to 1.84.0 (pip package litellm). The vulnerability was first published to the GitHub Advisory Database on May 28, 2026, and updated on June 16, 2026. It carries a CVSS v4.0 base score of 9.5 (Critical) (GitHub Advisory).
기술적 세부 사항
The root cause is classified as CWE-290 (Authentication Bypass by Spoofing). The authentication layer in litellm/proxy/auth/auth_utils.py::get_request_route() derives the effective route from request.url.path, which Starlette reconstructs from the HTTP Host header. By crafting a malicious Host header value, an attacker can cause the auth gate to evaluate a different route than the one FastAPI actually dispatched, effectively bypassing authentication checks for protected management endpoints. No privileges or user interaction are required, though the attack requires specific deployment conditions — namely, the absence of any upstream layer (CDN, WAF, or reverse proxy) that validates or normalizes the Host header (GitHub Advisory, LiteLLM Advisory).
영향
Successful exploitation allows an unauthenticated remote attacker to access protected management routes on the LiteLLM proxy, resulting in high impact to confidentiality, integrity, and availability of both the vulnerable system and subsequent systems. An attacker could read sensitive configuration data (including API keys for downstream LLM providers), modify proxy settings, or disrupt service availability. The broad scope of subsequent system impact reflects the risk of lateral movement to connected AI/LLM backends and infrastructure (GitHub Advisory).
착취 단계
- Reconnaissance: Identify internet-facing LiteLLM proxy instances running versions prior to 1.84.0 that lack an upstream CDN, WAF, or reverse proxy enforcing
Hostheader validation. - Identify protected management routes: Review LiteLLM documentation or source code to enumerate management API endpoints (e.g.,
/key/generate,/model/new,/user/new) that are normally restricted to authenticated users. - Craft malicious Host header: Construct an HTTP request with a
Hostheader value that, when parsed by Starlette to reconstructrequest.url.path, resolves to a public or unauthenticated route rather than the actual management route being targeted. - Send crafted request: Submit the HTTP request directly to the LiteLLM proxy listener, targeting a protected management endpoint while the manipulated
Hostheader causesget_request_route()to evaluate the request as if it were destined for an unprotected route. - Achieve unauthorized access: The auth gate, deceived by the spoofed route evaluation, permits the request without authentication, granting the attacker access to management functionality such as API key creation, model configuration changes, or user management (GitHub Advisory, LiteLLM Advisory).
타협의 징후
- Network: Unexpected HTTP requests to LiteLLM management endpoints (e.g.,
/key/generate,/model/new,/user/new) originating from unauthenticated or unknown sources; requests containing anomalous or non-standardHostheader values that do not match the configured proxy hostname. - Logs: LiteLLM proxy access logs showing successful (2xx) responses to management routes without corresponding authentication tokens or API keys; repeated requests to admin endpoints from the same source IP with varying
Hostheader values. - Application Behavior: Unexpected creation of new API keys, users, or model configurations in the LiteLLM admin panel; unauthorized changes to proxy routing or model settings not attributable to known administrators.
완화 및 해결 방법
Upgrade the litellm pip package to version 1.84.0 or later — no configuration change is required after upgrading (GitHub Advisory, LiteLLM v1.84.0 Release). If immediate upgrading is not possible, place the LiteLLM proxy behind an upstream component that validates or normalizes the Host header, such as a CDN or WAF (e.g., Cloudflare), a reverse proxy configured with explicit server_name allowlists (e.g., nginx), or a cloud load balancer with host-based routing rules. As an additional measure, restrict network access to the proxy listener to trusted sources only. LiteLLM Cloud customers are not affected and require no action.
커뮤니티 반응
The vulnerability received coverage from multiple security news outlets shortly after the advisory was published, including GBHackers, CyberPress, CyberSecurityNews, and IT Security News, all highlighting the authentication bypass risk via Host header injection (GBHackers, CyberSecurityNews). The vulnerability was discovered by Le The Thang (KCSC) and Kim Ngoc Chung (One Mount Group), who are credited in the official advisory. Community discussion noted that most production deployments are protected by standard infrastructure layers, limiting the practical attack surface (GitHub Advisory).
추가 자료
근원: 이 보고서는 AI를 사용하여 생성되었습니다.
관련 LiteLLM 취약점:
무료 취약성 평가
클라우드 보안 태세를 벤치마킹합니다
9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.
추가 Wiz 리소스
맞춤형 데모 받기
맞춤형 데모 신청하기
"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."