Disclosed weakness · no CVE recorded

LiteLLM WebSocket input could cross deployment token limits

LiteLLM · LiteLLM · Responses WebSocket deployment ITPM

First documented disclosure · Review checkpoint

Summary

A Responses WebSocket turn can be admitted when the same string input would be refused through HTTP.

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.

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 deployment check tested existing input-token usage without adding the current turn’s input estimate.

Conditions required

The operator configures deployment itpm and enforce_model_rate_limits, and a caller submits a Responses WebSocket response.create near the limit.

Potential impact

Input consumption can exceed a deployment’s configured per-minute allowance. No broader authorization or code-execution impact is established.

Affected versions and configurations

Contributor report and production diff establish affected main behavior; a complete affected-release range is unverified.

Fix and mitigation status

Open PR53594 proposes adding each string-input estimate at socket opening and later-turn admission. No merged or released correction is verified.

Practical next steps

Constrain the affected WebSocket route or use independently enforced quotas; test string input and conversation-list input separately.

Operating lesson

Quota checks must include the work about to be admitted, across all transports.

Evidence and limits

Contributor report opened November 22; full original and production changes reviewed. Proposal remains OPEN. Item-list input still estimates zero; instructions, tools and previous-response history stay uncounted. Concurrent turns can pass together because the check reserves nothing, and generate=false warmups remain outside the own-input check. First-turn refusal closes the socket; later-turn refusal keeps it open. Review/source details evolve, so the proposed fix is described narrowly.

Sources