Disclosed weakness · no CVE recorded
LiteLLM text team claims could skip team restrictions
LiteLLM · LiteLLM Rust-backed JWT team claim reader
First documented disclosure · Review checkpoint
Summary
A valid JWT with a text-valued team-list claim could be served without its intended team policy.
Severity and exploitation evidence
No CVSS score recorded in this review.
Exploitation not established: Public originals and static source review establish the reported weakness or controlled demonstration. Malicious exploitation against users is not established; no exploit, package or model 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 Rust claim reader accepted arrays for team_ids_jwt_field but treated a configured nonempty string as no team, losing the team’s model and budget context.
Conditions required
JWT authentication uses the affected Rust reader; the identity provider issues a single team as text in the configured plural team field, and that team imposes restrictions.
Potential impact
Requests could reach models the intended team disallows and omit its team accounting context. The caller still needs a valid token; arbitrary token forgery is not established.
Affected versions and configurations
The checked 1.113.0-dev.1 and 1.112.0-rc.2 sources retain the array-only path. The maintainer traces the regression to PR 51374; a complete release range is not established.
Fix and mitigation status
1.113.0-dev.2 contains PR 54841 and maps a nonempty string to one team ID. This is a development prerelease; no stable correction was verified.
Practical next steps
Use a validated build with the correction, or normalize the identity provider’s team-list claim to an array and verify team model/budget enforcement.
Operating lesson
A claim-type mismatch must not silently remove the authorization context.
Evidence and limits
Public PR 54841 opened and merged November 27; the development release followed November 28. Tagged development and release-candidate readers were inspected. The author reports a controlled forbidden-model request changing from HTTP 200 to HTTP 403. The shared reader also changes SSO/MCP/team-sync behavior, but those paths were not all tested live. The separate Python SSO reader with database team_mappings remains outside this fix. A requested stable 1.111.1 Rust path returned 404, so that absence is not used to infer stable exposure or safety. No CVE or score is assigned.
Sources
- Original text-team correction
Primary source ·
- Development prerelease 1.113.0-dev.2
Primary source ·
- Tagged corrected claim reader
Primary source ·
- Earlier development reader
Primary source ·
- Current release-candidate reader
Primary source ·