Skip to content

berriai/litellm

LiteLLM has an authentication bypass via OIDC userinfo cache key collision

CVE-2026-35030Published 6 Apr 2026, 16:47 UTC

Real-world risk

3.1/ 10Low

Routine

If the vulnerable configuration applies to you: 6.8

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.4

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.0, when JWT authentication is enabled (enable_jwt_auth: true), the OIDC userinfo cache uses token[:20] as the cache key. JWT headers produced by the same signing algorithm generate identical first 20 characters. This configuration option is not enabled by default. Most instances are not affected. An unauthenticated attacker can craft a token whose first 20 characters match a legitimate user's cached token. On cache hit, the attacker inherits the legitimate user's identity and permissions. This affects deployments with JWT/OIDC authentication enabled. Fixed in v1.83.0.

Am I affected?

ProductAffected versions (from the sources)Fixed in
berriai/litellmCommon< 1.83.01.83.0

What to do

Update to a fixed version: 1.83.0.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.7% chance of exploitation in 30 days (percentile 54), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.450
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.45 × threat 0.853.060
  4. Rounded to one decimal between 0.1 and 103.1

How the score works

Exploitation and evidence timeline

  1. 6 Apr 2026 Published
  2. 3 Dec 2026 Risk 3.1 (cvss fallback)

Weakness

CWE-287

References

Get alerts for berriai/litellm

Free email or text alerts when a vulnerability in berriai/litellm reaches risk 8 or higher. Nothing else.