{"id":"CVE-2026-35030","kind":"vulnerability","aliases":["CVE-2026-35030","GHSA-jjhc-v7c2-5hh6"],"related":[],"title":"LiteLLM: Authentication bypass via OIDC userinfo cache key collision","description":"###  Impact\n\nWhen 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.\n\nThis configuration option is not enabled by default. **Most instances are not affected.**\n\nAn 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.\n\n###  Patches\n\nFixed in v1.83.0. The cache key now uses the full hash of the JWT token.\n\n###  Workarounds\n\nDisable OIDC userinfo caching by setting the cache TTL to 0, or disable JWT authentication entirely.","summary":"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.","severity":"critical","cvss":9.4,"epss":0.00636,"exploited":false,"exploited_at":null,"products":[{"name":"litellm","fixed":["1.83.0"],"affected":"< 1.83.0","ecosystem":"pypi"},{"name":"litellm","fixed":["1.83.0"],"affected":"< 1.83.0","ecosystem":"vendor"}],"ecosystems":["pypi","vendor"],"tags":["ai-tooling","cwe-222","cwe-287","litellm","llm-gateway","python","self-hosted"],"not_affected_if":["default-config","jwt-auth-disabled"],"how_to_check":"- Check the proxy configuration for `enable_jwt_auth: true`; if it is absent or false, the instance is not affected.\n- Check the installed version with `pip show litellm`; versions below `1.83.0` are affected.\n- Check whether OIDC userinfo caching is active (cache TTL not set to `0`).","fix":"- `litellm` (PyPI): move to `1.83.0` or later.","status":"open","published_at":"2026-04-03T21:59:50+00:00","first_seen_at":"2026-11-16T15:12:10+00:00","triaged_at":"2026-11-16T15:12:50+00:00","updated_at":"2026-11-16T15:37:59+00:00","category":"ai-tooling","confidence":0.8,"triage":{"at":"2026-11-16T15:12:50Z","model":"claude-haiku-5-5","output":{"fix":"- `litellm` (PyPI): move to `1.83.0` or later.","reach":"network","title":"LiteLLM: OIDC cache key collision lets attackers impersonate logged-in users","impact":"high","summary":"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.","audience":"developers","category":"ai-tooling","nicknames":[],"who_cares":["litellm","python","self-hosted","llm-gateway"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"Attacker impersonates a legitimate user and gains their permissions.","analyst_note":"","how_to_check":"- Check the proxy configuration for `enable_jwt_auth: true`; if it is absent or false, the instance is not affected.\n- Check the installed version with `pip show litellm`; versions below `1.83.0` are affected.\n- Check whether OIDC userinfo caching is active (cache TTL not set to `0`).","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["default-config","jwt-auth-disabled"],"who_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.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"critical"},"cost_usd":0.000796,"input_tokens":4819,"output_tokens":628,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2026':11A,19A '-222':27B '-287':29B '-35030':12A,20A '0':201C '20':51B,105C,121C,145C '5hh6':17A 'affect':135C,168C 'ai':24B 'ai-tool':23B 'algorithm':62B,117C 'attack':68B,138C,158C 'auth':97C 'authent':2A,40B,92C,172C,205C 'bypass':3A 'cach':7A,44B,79B,102C,108C,152C,155C,179C,194C,198C 'charact':52B,122C,146C 'collis':9A 'configur':124C 'craft':70B,140C 'cve':10A,18A 'cwe':26B,28B 'default':130C 'deploy':169C 'disabl':191C,203C 'enabl':42B,94C,95C,128C,173C 'entir':206C 'entri':80B 'first':50B,120C,144C 'fix':175C 'full':184C 'gateway':33B 'generat':118C 'ghsa':14A 'ghsa-jjhc-v7c2-5hh6':13A 'hash':185C 'header':111C 'hit':74B,156C 'host':37B 'ident':86B,119C,164C 'impact':89C 'inherit':82B,159C 'instanc':132C 'jjhc':15A 'jwt':39B,91C,96C,110C,188C,204C 'jwt/oidc':171C 'key':8A,47B,109C,180C 'legitim':76B,149C,161C 'litellm':1A,21A,22A,30B,43B 'llm':32B 'llm-gateway':31B 'match':147C 'oidc':5A,45B,100C,192C 'option':125C 'patch':174C 'permiss':88B,166C 'prefix':65B 'produc':112C 'python':34B 'self':36B 'self-host':35B 'set':196C 'share':63B 'sign':61B,116C 'token':55B,57B,72B,104C,142C,153C,189C 'tool':25B 'true':98C 'ttl':199C 'unauthent':67B,137C 'use':103C,182C 'user':77B,84B,150C,162C 'userinfo':6A,46B,101C,193C 'v1.83.0':177C 'v7c2':16A 'via':4A 'whose':143C 'workaround':190C","nicknames":[],"mitigations":[],"who_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.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":["litellm"],"ptokens":["litellm"],"labels":["aitooling","critical","cwe222","cwe287","litellm","llmgateway","pypi","python","selfhosted","vendor"],"campaign_type":null,"search_a":"'-2026':11A,19A '-35030':12A,20A '5hh6':17A 'authent':2A 'bypass':3A 'cach':7A 'collis':9A 'cve':10A,18A 'ghsa':14A 'ghsa-jjhc-v7c2-5hh6':13A 'jjhc':15A 'key':8A 'litellm':1A,21A,22A 'oidc':5A 'userinfo':6A 'v7c2':16A 'via':4A","search_b":"'-222':27B '-287':29B '20':51B 'ai':24B 'ai-tool':23B 'algorithm':62B 'attack':68B 'authent':40B 'cach':44B,79B 'charact':52B 'craft':70B 'cwe':26B,28B 'enabl':42B 'entri':80B 'first':50B 'gateway':33B 'hit':74B 'host':37B 'ident':86B 'inherit':82B 'jwt':39B 'key':47B 'legitim':76B 'litellm':30B,43B 'llm':32B 'llm-gateway':31B 'oidc':45B 'permiss':88B 'prefix':65B 'python':34B 'self':36B 'self-host':35B 'share':63B 'sign':61B 'token':55B,57B,72B 'tool':25B 'unauthent':67B 'user':77B,84B 'userinfo':46B","search_c":"'0':201C '20':105C,121C,145C 'affect':135C,168C 'algorithm':117C 'attack':138C,158C 'auth':97C 'authent':92C,172C,205C 'cach':102C,108C,152C,155C,179C,194C,198C 'charact':122C,146C 'configur':124C 'craft':140C 'default':130C 'deploy':169C 'disabl':191C,203C 'enabl':94C,95C,128C,173C 'entir':206C 'first':120C,144C 'fix':175C 'full':184C 'generat':118C 'hash':185C 'header':111C 'hit':156C 'ident':119C,164C 'impact':89C 'inherit':159C 'instanc':132C 'jwt':91C,96C,110C,188C,204C 'jwt/oidc':171C 'key':109C,180C 'legitim':149C,161C 'match':147C 'oidc':100C,192C 'option':125C 'patch':174C 'permiss':166C 'produc':112C 'set':196C 'sign':116C 'token':104C,142C,153C,189C 'true':98C 'ttl':199C 'unauthent':137C 'use':103C,182C 'user':150C,162C 'userinfo':101C,193C 'v1.83.0':177C 'whose':143C 'workaround':190C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-04-03T19:24:57+00:00","kev":null,"cvss_vector":"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","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-jjhc-v7c2-5hh6","url":"https://github.com/advisories/GHSA-jjhc-v7c2-5hh6","severity":"critical","published_at":"2026-04-03T21:59:50+00:00","modified_at":"2026-11-16T15:11:33+00:00","first_seen_at":"2026-11-16T15:12:10+00:00","fetched_at":"2026-11-16T15:17:21+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-35030","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35030","severity":null,"published_at":"2026-04-06T17:17:12+00:00","modified_at":"2026-10-24T13:10:00+00:00","first_seen_at":"2026-11-16T15:37:59+00:00","fetched_at":"2026-11-16T15:37:59+00:00","note":null}],"documents":[{"id":170347,"url":"https://api.github.com/repos/BerriAI/litellm/security-advisories/GHSA-jjhc-v7c2-5hh6","title":"Maintainer's advisory: api.github.com","kind":"vendor","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Maintainer's advisory: api.github.com"},{"id":170348,"url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-jjhc-v7c2-5hh6","title":"Maintainer's advisory: github.com","kind":"vendor","source":"ghsa","publisher":"vendor","text":null,"published_at":"2026-04-03T19:24:57+00:00","relation":"advisory","confidence":null,"note":"Maintainer's advisory: github.com"}],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.00636,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-35030"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}