Vulnerability · Published Apr 6, 2026 · Assigned by GitHub_M
CVE-2026-35030LiteLLM has an authentication bypass via OIDC userinfo cache key collision
Critical 9.1
In plain English
A critical-severity improper authentication in litellm from BerriAI. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | litellm | 1.83.0 | GHSA-jjhc-v7c2-5hh6 |
| PyPI | litellm | 1.83.0 | PYSEC-2026-390 |
Affected products (as reported)
Weakness: CWE-287, CWE-222 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/BerriAI/litellm/security/advisories/GHSA-jjhc-v7c2-5hh6 x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2026-35030 vdb-entry, x_refsource_REDHAT
- RHBZ#2455509 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35030.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:13545 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:28960 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:30056 vendor-advisory, x_refsource_REDHAT