9.4critical
LiteLLM has an authentication bypass via OIDC userinfo cache key collision
- Severity
- 9.4critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.65% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jjhc-v7c2-5hh6PYSEC-2026-390
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
| Product or package | Versions | Reported by |
|---|---|---|
| BerriAI litellm | < 1.83.0 | CVE List |
| ansible-automation-platform-26/lightspeed-chatbot-rhel9 | Not specified Not affected: from 1777398576 before * | CVE List |
| rhoai/odh-llama-stack-core-rhel9 | Not specified Not affected: from 1781826406 before *, from 1782310008 before * | CVE List |
| redhat-user-workloads/lightspeed-stack | Not specified | CVE List |
| rhoai/odh-mlflow-rhel9 | Not specified | CVE List |
| litellm (PyPI) | before 1.83.0 | GitHub Advisory Database, PyPA Advisory Database |
| litellm litellm | before 1.83.0 | NVD |
All scores
| GitHub_M | 9.4critical CVSS:4.0 | 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 |
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| redhat-SADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | critical CVSS:4.0 | 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 |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Patches
Fixed in v1.83.0. The cache key now uses the full hash of the JWT token.
Workarounds
Disable OIDC userinfo caching by setting the cache TTL to 0, or disable JWT authentication entirely.
NVD (es)
pendiente...
References
| https://github.com/BerriAI/litellm/security/advisories/GHSA-jjhc-v7c2-5hh6 | mitigation, vendor-advisory, web | |
| https://access.redhat.com/security/cve/CVE-2026-35030 | vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2455509 | issue-tracking, web | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35030.json | web | |
| https://access.redhat.com/errata/RHSA-2026:13545 | vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2026:28960 | vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2026:30056 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-35030 | advisory | |
| https://github.com/BerriAI/litellm | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-390.yaml | web | |
| https://pypi.org/project/litellm | package, web | |
| https://github.com/advisories/GHSA-jjhc-v7c2-5hh6 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-35030 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jjhc-v7c2-5hh6 changed 2026-11-16 | CC-BY-4.0 |
| NVD | CVE-2026-35030 changed 2026-10-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-390 changed 2026-07-01 | CC-BY-4.0 |