LITELLM · CVE-2026-35030 · AI agents & MCP
FIX → 1.83.0
When JWT authentication is enabled, LiteLLM caches OIDC userinfo keyed on the first 20 characters of the token, and tokens from the same signing algorithm share that prefix. An unauthenticated attacker can craft a token that hits a legitimate user's cache entry and inherits that user's identity and permissions.
first public Apr 3, 2026 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Only deployments that enable JWT/OIDC authentication (enable_jwt_auth: true) are exposed, since the flaw sits in the userinfo cache used for that path. The advisory says most instances are not affected because the option is off by default. Teams that run LiteLLM as an authenticating proxy with JWT or OIDC login should upgrade; teams without that option can skip it.
Not affected if default-config, jwt-auth-disabled
Who cares litellm, llm-gateway, python, self-hosted
enable_jwt_auth: true; if it is absent or false, the instance is not affected.pip show litellm; versions below 1.83.0 are affected.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. The cache key now uses the full hash of the JWT token.
Disable OIDC userinfo caching by setting the cache TTL to 0, or disable JWT authentication entirely.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
Upgrade to 1.83.0
litellm (PyPI): move to 1.83.0 or later.This page as .md · .json · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.