LitellmApplication

CVE-2026-35030

CRITICAL · 9.1 CVSS v3.1 Published 2026-04-06
Fix available
A fix is available. Upgrade to 1.83.0 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

In LiteLLM versions before 1.83.0, the OIDC userinfo cache uses only the first 20 characters of a JWT as the cache key. Since JWT headers (which contain the signing algorithm) are identical for tokens using the same algorithm, an attacker can craft a malicious token whose first 20 characters match a legitimate user's cached token, inheriting their identity and permissions on cache hit.

MitigationUpgrade LiteLLM to version 1.83.0 or later. If upgrading is not immediately possible, verify whether enable_jwt_auth is set to true in your deployment configuration, as this vulnerability only affects instances with JWT/OIDC authentication enabled.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
LitellmApplication
Affected:< 1.83.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Determine LiteLLM installed version
    Run 'litellm --version' or check the Python package version with 'pip show litellm'
    Affected if Version is below 1.83.0 (e.g., 1.82.x, 1.81.x, etc.)
  2. Verify JWT/OIDC authentication is enabled
    Inspect your LiteLLM configuration file or environment variables for 'enable_jwt_auth: true' or similar JWT-related settings
    Affected if JWT authentication (enable_jwt_auth) is set to true or enabled in the configuration
  3. Confirm OIDC userinfo cache is in use
    Check if your OIDC provider settings include userinfo caching enabled; look for OIDC-related cache configurations in your deployment
    Affected if OIDC userinfo caching is enabled and in use with your authentication flow
  4. Inspect cache key implementation (if accessible)
    Review LiteLLM source code in the OIDC authentication module to verify if cache keys use only the first 20 characters of the JWT token
    Affected if The cache key generation truncates JWT tokens to first 20 characters (vulnerable behavior)
  5. Review access logs for cache collisions
    Examine authentication logs for unexpected identity switching or permission escalations where different users appear to inherit another user's session context
    Affected if Any anomalous authentication patterns suggest cache key collision exploitation

You are affected if LiteLLM version is below 1.83.0 AND JWT/OIDC authentication with userinfo caching is enabled in your environment.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.83.0 or later
Fixed in 1.83.0
Interim mitigation

Upgrade LiteLLM to version 1.83.0 or later. If upgrading is not immediately possible, verify whether enable_jwt_auth is set to true in your deployment configuration, as this vulnerability only affects instances with JWT/OIDC authentication enabled.

Recommended fix High confidence

1.83.0

  1. 1. Backup your current LiteLLM configuration, database, and any custom settings.
  2. 2. Verify current LiteLLM version by checking your installed package or running `litellm --version`.
  3. 3. Upgrade LiteLLM to version 1.83.0 or later using your package manager (e.g., `pip install litellm==1.83.0` or `pip install --upgrade litellm`).
  4. 4. Verify the upgrade was successful by checking the new version.
  5. 5. If you have JWT/OIDC authentication enabled (enable_jwt_auth: true), test the authentication flow to confirm the vulnerability is remediated.
  6. 6. Review LiteLLM v1.83.0 release notes for any additional changes that may affect your deployment.
Caveat Review release notes for v1.83.0 to check for any changes that may affect your specific configuration, though this is primarily a security fix

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Litellm Scoped from the published advisory
  • Consultation2.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
6.0 hours of engineering $1,060
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,696.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-35030 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-35030 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data