Servers and applications
GHSA-mpqq-3cc5-fgh2
Virtual keys stored unhashed in spend logs and logging callbacks when a request fails authorization checks
- Severity
- Low 3.8
- Published
- 23 Nov 2026
- Last changed
- 23 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.83.3, 1.85.3, 1.86.3
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N- Sources
- Project advisories (GitHub)
Description
When a request with a valid virtual key failed the proxy's authorization checks, the proxy logged the failure using the raw Authorization header value, Bearer sk-..., instead of the key's hash. Examples of such failures are a model the key's team is not allowed to use, an exceeded budget, or a denied tool or vector store. The step that hashes keys before logging only recognized values starting with sk-, so the Bearer prefix caused the full key to be stored as written. Keys are now hashed whether or not they carry the Bearer prefix.
The full virtual key was written to the api_key column and metadata of LiteLLM_SpendLogs, to LiteLLM_ErrorLogs when error logs are enabled, and to every configured failure callback (for example Langfuse, OpenTelemetry, Datadog or Sentry). Anyone who can read the proxy's logs, its database or backups, or a connected observability backend can recover these keys and use them to make requests as their owners. The key was not returned to the HTTP client.
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-28j3-9x3h-556fUnauthenticated /public/mcp_hub lists every MCP server by defaultMedium 5.3 23 Nov 2026
- GHSA-34v7-jqrg-944pPersistent Global Callback Injection Enables Cross-User Data Exfiltration in LiteLLM ProxyMedium 5.4 23 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-mpqq-3cc5-fgh2
- github.com https://github.com/BerriAI/litellm/security/advisories/GHSA-mpqq-3cc5-fgh2