Disclosed weakness · no CVE recorded
LiteLLM masked answers could retain recoverable original token data
LiteLLM · LiteLLM · non-streamed output masking
First documented disclosure · Review checkpoint
Summary
A non-streamed masked response can retain token IDs or logprob token text revealing the original answer.
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
Post-call rewrites and served-text log overlays did not invalidate token metadata describing the pre-mask output.
Conditions required
A caller requests token IDs from hosted_vllm or logprobs from a supported model, and a proxy-wide or per-model post-call hook changes the non-streamed output.
Potential impact
The caller or log reader can reconstruct data removed from visible text.
Affected versions and configurations
Contributor report demonstrates the affected path on main at a2369ce. A complete affected-release range is unverified.
Fix and mitigation status
Open PR53758 proposes clearing token IDs and logprobs on changed output choices and logs. It is not merged or a verified released fix.
Practical next steps
Suppress token IDs and logprobs on masked outputs at a trusted enforcement layer, or disable the affected response options until a correction is deployed and validated.
Operating lesson
Remove every representation of redacted output, including token metadata and logs.
Evidence and limits
Contributor finding supported by full report, complete diff and controlled vLLM token-decoding/OpenAI logprob examples. No maintainer advisory, CVE or issue-specific CVSS established. The proposal handles non-streamed chat, completions, Responses text and per-model hooks; unchanged answers retain their metadata. Streamed logprobs are explicitly unchanged. The report’s latest proof applies to an earlier test commit with stated subsequent changes; no independent runtime reproduction was made.
Sources
- LiteLLM contributor report and proposed correction #53758
Primary source ·