Disclosed weakness · no CVE recorded

LiteLLM prompt logging could retain authentication headers

LiteLLM · LiteLLM Proxy

First documented disclosure · Review checkpoint

Summary

Enabling prompt storage could also persist virtual keys, master keys, session cookies and provider credentials from request headers.

Severity and exploitation evidence

Medium · 4.9/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.

Exploitation evidence source

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 request snapshot copied secret_fields, which retained raw HTTP headers, into proxy_server_request; spend-log serialization did not strip that sensitive structure.

Conditions required

store_prompts_in_spend_logs is enabled on an affected build, credential-bearing requests are processed, and a reader can access spend logs, the database, exported logs or backups.

Potential impact

Readers of stored logs can recover credentials and impersonate users or use exposed provider credentials. Deployments with prompt storage disabled are outside the advisory’s stated scope.

Affected versions and configurations

Advisory package metadata lists <1.84.0 broadly, while its narrative says the snapshot change introduced this mechanism in1.83.10. Both statements are retained; the narrative-specific interval is1.83.10 before1.84.0.

Fix and mitigation status

Maintainer names stable1.84.0, published May14. PR27143 merged May5, excluding secret_fields from the snapshot and stripping it during spend-log sanitization. Existing stored credentials are not cleaned by upgrading.

Practical next steps

Disable prompt storage until a corrected build is deployed; clean affected stored request columns and retained copies, and rotate exposed virtual, master, provider and session credentials as appropriate.

Operating lesson

Logging a request body must not silently include the authentication context attached during processing.

Evidence and limits

PR27143 opened May5 with the exact raw-header snapshot mechanism and production correction. A prior private Slack report is mentioned without a public date and is not used as disclosure. The November23 advisory is published at14:39:21Z; its historical release date is not treated as a new fix. 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:H/I:N/A:N). No CVE mapping is established. Historical fixed-version statements are issue-specific and do not certify the whole release.

Sources