Disclosed weakness · no CVE recorded
LiteLLM background pass-through could charge the wrong caller
LiteLLM · LiteLLM · OpenAI pass-through background Responses
First documented disclosure · Review checkpoint
Summary
An unread background response could leave its creator uncharged, while the first reader’s key and team paid instead.
Severity and exploitation evidence
No CVSS score recorded in this review.
Exploitation not established: Reviewed public reports and controlled reproductions do not establish malicious exploitation against users. 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 pass-through create returned before usage existed; later settlement used the reading request rather than durable creator attribution.
Conditions required
An authorized caller starts background=true through /openai_passthrough/v1/responses; final usage is not recorded on create. Another key that can retrieve the response may become the first reader.
Potential impact
Provider costs can escape creator budgets or be attributed to another key, team or user. This report does not establish a separate unauthorized-read flaw.
Affected versions and configurations
Contributor report demonstrates behavior on main at 90dd91d. A complete affected-release range is unverified.
Fix and mitigation status
Open PR53586 proposes durable creator records, polling and once-only creator settlement. No merged or released correction is verified.
Practical next steps
Restrict this background pass-through path where creator budgets are security boundaries; reconcile provider charges against creator records until a validated correction ships.
Operating lesson
Bind asynchronous resource costs to their creator before returning the resource ID.
Evidence and limits
Contributor report opened November 22 21:58Z; complete source diff and controlled two-proxy/provider examples reviewed. Proposal remains OPEN. Historical responses without creator records and missing creator tables retain reader billing. A streamed create read before it closes can still charge the reader; polling after restart uses the configured proxy credential and cannot settle every differently credentialed response. Database failures and polling timeouts can delay or lose accounting; the proposal is not a universal billing guarantee.
Sources
- LiteLLM contributor report and proposed correction #53586
Primary source ·