Disclosed weakness · no CVE recorded
LiteLLM tokenless drain option could let reachable callers remove a worker from service
LiteLLM · LiteLLM optional health drain endpoint
First documented disclosure · Review checkpoint
Summary
An explicitly enabled drain endpoint could accept an anonymous call when the operator omitted its separate token.
Severity and exploitation evidence
No CVSS score recorded in this review.
Exploitation not established: Public original reports and static source inspection establish the reported behavior, not malicious exploitation against users. No exploit, package, model or provider request 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 GET health drain route bypasses ordinary proxy-key authentication, and its authorization helper returns successfully when no drain token is configured.
Conditions required
The operator explicitly enables enable_drain_endpoint without drain_endpoint_token or DRAIN_ENDPOINT_TOKEN, and the caller can reach the health port. The endpoint is disabled by default.
Potential impact
An accepted call marks the worker shutting down, makes readiness and liveliness fail, and removes it from rotation until restart.
Affected versions and configurations
The original August 1 report and inspected stable 1.111.1 source contain this behavior. The exact introduction and full affected release range are not established.
Fix and mitigation status
No released fail-closed correction verified. PR 38256 and renewed PR 55196 remain open and unmerged in the December 1 check. The current five-release inventory has no new stable version beyond the inspected 1.111.1. Configuring the existing drain token already prevents anonymous drain calls.
Practical next steps
Keep the endpoint disabled unless needed, or configure a drain token and send X-Drain-Token from the orchestrator hook. Limit access to the health port.
Operating lesson
An operational shutdown endpoint needs explicit authorization when enabled.
Evidence and limits
Issue 35527 opened August 1, before the August 25 proposed fix and November 30 renewed proposal. Its updated scope explicitly preserves the disabled-by-default prerequisite. The old PR mentions POST, but the original report, stable source and new controlled evidence identify GET. PR 55196 also changes connection draining; those reliability changes are not treated as another security flaw. The author reports a tokenless 200-to-401 change and preserved readiness after rejection. No production attack, CVE or numeric score is established. December 1 freshness review retrieved both open PRs and the current release inventory. Updated PR55196 still describes the token requirement and controlled comparisons; the changed reliability details are not treated as additional vulnerabilities.
Sources
- Original report with corrected deployment scope
Primary source ·
- Earlier unmerged authentication proposal
Primary source ·
- Renewed fail-closed proposal and reported proof
Primary source ·
- Inspected stable 1.111.1 source
Primary source ·
- Stable 1.111.1 release
Primary source ·