Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 60%

CVE-2026-35030: CWE-287: Improper Authentication in BerriAI litellm

0
Critical
VulnerabilityCVE-2026-35030cvecve-2026-35030cwe-287
Published: 04/06/2026 (04/06/2026, 16:47:02 UTC)
Source: CVE Database V5
Vendor/Project: BerriAI
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Affected software

GitHub Actionsmore threats →ai
berriai/litellm
pkg:github/berriai/litellm
Affected versions
<1.83.0

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

AILast updated: 07/15/2026, 09:04:42 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses