CVE-2026-35030
JSON

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 packageVersionsReported by
BerriAI litellm< 1.83.0CVE List
ansible-automation-platform-26/lightspeed-chatbot-rhel9Not specified
Not affected: from 1777398576 before *
CVE List
rhoai/odh-llama-stack-core-rhel9Not specified
Not affected: from 1781826406 before *, from 1782310008 before *
CVE List
redhat-user-workloads/lightspeed-stackNot specifiedCVE List
rhoai/odh-mlflow-rhel9Not specifiedCVE List
litellm (PyPI)before 1.83.0GitHub Advisory Database, PyPA Advisory Database
litellm litellmbefore 1.83.0NVD

All scores

GitHub_M9.4critical CVSS:4.0CVSS: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-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
redhat-SADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHubcritical CVSS:4.0CVSS: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 DatabaseNot scored CVSS:4.0CVSS: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

CWE-222CWE-287

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

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-5hh6mitigation, vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-35030vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2455509issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35030.jsonweb
https://access.redhat.com/errata/RHSA-2026:13545vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:28960vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:30056vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2026-35030advisory
https://github.com/BerriAI/litellmpackage
https://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-390.yamlweb
https://pypi.org/project/litellmpackage, web
https://github.com/advisories/GHSA-jjhc-v7c2-5hh6advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-35030 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-jjhc-v7c2-5hh6 changed 2026-11-16CC-BY-4.0
NVDCVE-2026-35030 changed 2026-10-24Public domain
PyPA Advisory DatabasePYSEC-2026-390 changed 2026-07-01CC-BY-4.0