Disclosed weakness · no CVE recorded
LiteLLM authorization failures could log usable virtual keys
LiteLLM · LiteLLM Proxy
First documented disclosure · Review checkpoint
Summary
A valid key rejected by an authorization check could be stored as a usable credential in logs and observability systems.
Severity and exploitation evidence
Low · 3.8/10 · CVSS 3.1. Severity source.
Exploitation not established: The maintainer advisory and reviewed public correction describe the weakness; malicious exploitation against users is not established. No exploit was executed in this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The safe-hash helper recognized bare sk- keys but not Authorization values beginning with Bearer, so failure logging retained the raw header value.
Conditions required
A request uses a valid virtual key but fails a model, budget, tool or vector-store authorization check; an unauthorized reader can access the resulting database, logs, backups or configured failure callback backend.
Potential impact
A log reader can recover the key and act as its owner. The advisory says the raw key was not returned to the HTTP client.
Affected versions and configurations
The advisory’s first range is internally impossible: >1.83.14, <1.83.3, paired with patch1.84.4. It also lists >=1.85.0,<1.85.3 and unbounded >=1.86.0 while naming patch1.86.3. A coherent complete affected range is not established.
Fix and mitigation status
Maintainer names 1.84.4, 1.85.3 and 1.86.3; those are stable releases published May31, June2 and June3. PR29343 normalizes the Bearer prefix before hashing. The contradictory range metadata remains unresolved; upgrading alone does not remove retained keys.
Practical next steps
Deploy a build with the normalization correction, locate plaintext Bearer values in spend/error logs and callback stores, rotate exposed keys, and redact or purge retained copies and backups under the operator’s retention process.
Operating lesson
Normalize credential representations before applying redaction, and treat old log copies as part of remediation.
Evidence and limits
PR29343 opened May30 and explicitly shows a failure-metric label retaining the raw Bearer value before its correction. The November23 advisory extends the confirmed sinks to spend logs, optional error logs and failure callbacks. Fix labels are retained as vendor claims despite the malformed and open-ended affected ranges. The November 23 advisory is a newly published confirmation of an older public mechanism and correction. Severity is the maintainer’s CVSS 3.1 assessment (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N). No CVE mapping is established. Historical fixed-version statements are issue-specific and do not certify the whole release.
Sources
- LiteLLM maintainer advisory GHSA-mpqq-3cc5-fgh2
Primary source ·
- refactor(proxy/auth): normalize Bearer prefix in safe-hash helper
Primary source ·
- LiteLLM 1.84.4 stable release
Primary source ·
- LiteLLM 1.85.3 stable release
Primary source ·
- LiteLLM 1.86.3 stable release
Primary source ·