Servers and applications
GHSA-xpf6-jpp2-mm7r
Request headers, including Authorization and Cookie, stored in spend logs when prompt logging is enabled
- Severity
- Medium 4.9
- Published
- 23 Nov 2026
- Last changed
- 23 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.84.0
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N- Sources
- Project advisories (GitHub)
Description
When store_prompts_in_spend_logs is enabled, LiteLLM Proxy saved each request's raw HTTP headers into the proxy_server_request column of the LiteLLM_SpendLogs table. The saved headers include Authorization (virtual keys and the master key), Cookie (dashboard session cookies), and any provider or custom credential headers the client sent.
The proxy keeps the incoming headers on the request for internal use. A change in 1.83.10 moved the snapshot of the request body to after that point, so the snapshot picked up the headers, and spend logging then serialized it to the database.
Anyone who can read spend logs can recover these credentials and act as the users who sent them. That includes admins and view-only admins in the UI, anyone with database or backup access, and any system that receives exported spend logs. Deployments that don't enable store_prompts_in_spend_logs are not affected.
Workarounds
If you cannot upgrade, set store_prompts_in_spend_logs to false and clean up existing rows as described above.
Affected software
| Software | Affected versions |
|---|---|
LiteLLMServers and applications · github:berriai/litellm |
|
About LiteLLM
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
- Weekly downloads (PyPI)
- 25,827,159PyPI Stats, 22 Nov 2026
- GitHub stars
- 63,681GitHub, 22 Nov 2026
- Forks
- 13,467GitHub, 22 Nov 2026
- Latest release
- v1.110.2GitHub, 22 Nov 2026
- Released
- 20 Nov 2026GitHub
- First published on GitHub
- 27 Jul 2023GitHub
Vulnerabilities in LiteLLM
- In our list
- 59
- Published in the last 12 months
- 46
- Critical, last 12 months
- 6
- High, last 12 months
- 12
- Known exploited
- 5
- GHSA-p377-4hwj-f3fhBulk user update with all_users=true stored passwords in plaintextMedium 4.9 24 Nov 2026
- CVE-2026-93355JWT and SSO email fallback can sign in as another user when the IdP lets users choose their email addressHigh 7.6 24 Nov 2026
- CVE-2026-135287LiteLLM 1.62.4 before 1.84.0 Persistent Global Callback Injection via Request BodyMedium 5.3 23 Nov 2026
- GHSA-wpm4-hgr2-xjwrTeam and key router_settings fallbacks can route requests to models the caller is not allowed to useMedium 5.4 23 Nov 2026
- GHSA-mpqq-3cc5-fgh2Virtual keys stored unhashed in spend logs and logging callbacks when a request fails authorization checksLow 3.8 23 Nov 2026
- GHSA-28j3-9x3h-556fUnauthenticated /public/mcp_hub lists every MCP server by defaultMedium 5.3 23 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-xpf6-jpp2-mm7r
- github.com https://github.com/BerriAI/litellm/security/advisories/GHSA-xpf6-jpp2-mm7r