CVE-2026-35030: CWE-287: Improper Authentication in BerriAI litellm
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.
AI Analysis
Technical Summary
LiteLLM, a proxy server for calling LLM APIs, prior to version 1.83.0, when configured with JWT authentication enabled, uses the first 20 characters of a JWT token as the cache key for OIDC userinfo. Because JWT headers generated by the same signing algorithm share identical initial characters, an attacker can create a token that matches the first 20 characters of a legitimate user's token, causing a cache hit and allowing the attacker to assume the legitimate user's identity and permissions. This improper authentication vulnerability (CWE-287) is not enabled by default and affects only those deployments with JWT/OIDC authentication enabled. The vulnerability has a CVSS 4.0 base score of 9.4 (critical). The issue is fixed in litellm version 1.83.0.
Potential Impact
An unauthenticated attacker can impersonate a legitimate user by crafting a JWT token that matches the first 20 characters of a legitimate user's cached token, thereby inheriting that user's identity and permissions. This could lead to unauthorized access and privilege escalation in affected deployments with JWT/OIDC authentication enabled. The vulnerability does not affect instances where JWT authentication is not enabled.
Mitigation Recommendations
A fixed version, litellm 1.83.0, is available and should be applied to remediate this vulnerability. Deployments that do not have JWT/OIDC authentication enabled are not affected. Patch status is confirmed by the vendor advisory. Users should upgrade to version 1.83.0 or later to resolve this issue.
CVE-2026-35030: CWE-287: Improper Authentication in BerriAI litellm
Description
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.
CVSS v4.0
Score 9.4critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
LiteLLM, a proxy server for calling LLM APIs, prior to version 1.83.0, when configured with JWT authentication enabled, uses the first 20 characters of a JWT token as the cache key for OIDC userinfo. Because JWT headers generated by the same signing algorithm share identical initial characters, an attacker can create a token that matches the first 20 characters of a legitimate user's token, causing a cache hit and allowing the attacker to assume the legitimate user's identity and permissions. This improper authentication vulnerability (CWE-287) is not enabled by default and affects only those deployments with JWT/OIDC authentication enabled. The vulnerability has a CVSS 4.0 base score of 9.4 (critical). The issue is fixed in litellm version 1.83.0.
Potential Impact
An unauthenticated attacker can impersonate a legitimate user by crafting a JWT token that matches the first 20 characters of a legitimate user's cached token, thereby inheriting that user's identity and permissions. This could lead to unauthorized access and privilege escalation in affected deployments with JWT/OIDC authentication enabled. The vulnerability does not affect instances where JWT authentication is not enabled.
Mitigation Recommendations
A fixed version, litellm 1.83.0, is available and should be applied to remediate this vulnerability. Deployments that do not have JWT/OIDC authentication enabled are not affected. Patch status is confirmed by the vendor advisory. Users should upgrade to version 1.83.0 or later to resolve this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-31T21:06:06.427Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-35030","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13545","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28960","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30056","vendor":"Red Hat"}]
Threat ID: 69d3ea320a160ebd92c9fd81
Added to database: 04/06/2026, 17:15:30 UTC
Last enriched: 07/15/2026, 09:04:42 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 168
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.