PoC Monitor
← All CVEs
CVE-2026-35030published 6 Apr 2026 16:47 UTCData: JSON · API

BerriAI LiteLLM

LiteLLM has an authentication bypass via OIDC userinfo cache key collision

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.

First public PoC 43 daysafter publication · 19 May 2026
Public PoCs11 on GitHub
CVSS9.4critical · scored by CNA · CWE-287
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

BerriAI litellm
  • < 1.83.0

Fixed in 1.83.0

Mitigation

Upgrade litellm to 1.83.0 or later.

References

Timeline

Days relative to CVE publication
t=0+7+14+21+28+35+42CVE published6 Apr 2026 · t = 0First public PoC19 May 2026 · t+43d

First public PoC 43 days after publication; not in CISA KEV. First PoC: learner202649/CVE-2026-35030-PoC (created 19 May 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs · 1 not a PoC

PoCs 1
RepositoryCreatedStarsAssessment
learner202649/CVE-2026-35030-PoC 19 May 2026 +43 d 0 PoC
Not a PoC 1
RepositoryCreatedStarsAssessment
learner202649/CVE-2026-35029-PoC 19 May 2026 +43 d 0 Not a PoC · unrelated

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /user/info

Key headers
Authorization: Bearer {var}
Content-Type
application/json
Ports
4000, 4001, 8000
Seen in
1 repo: learner202649/CVE-2026-35030-PoC
Evidence
learner202649/CVE-2026-35030-PoC/exploit/exploit.py:145 learner202649/CVE-2026-35030-PoC/exploit/exploit.py:163

POST /token

Body markers
"subject" in application/json
Ports
4000, 4001, 8000
Seen in
1 repo: learner202649/CVE-2026-35030-PoC
Evidence
learner202649/CVE-2026-35030-PoC/exploit/token_forge.py:67

POST /user/new

Key headers
Authorization: Bearer sk-litellm-master-key
Body markers
"user_id":"admin" "role":"proxy_admin" "user_id":"attacker" in application/json
Ports
4000
Seen in
1 repo: learner202649/CVE-2026-35030-PoC
Evidence
learner202649/CVE-2026-35030-PoC/README.md:81 learner202649/CVE-2026-35030-PoC/README.md:85

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /user/info
(?i)^/user/info(?:[?#].*)?$
POST /token
(?i)^/token(?:[?#].*)?$
POST /user/new
(?i)^/user/new(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /user/info
alert http any any -> $HOME_NET [4000,4001,8000] (msg:"GG PoC-Monitor CVE-2026-35030 BerriAI litellm exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/user/info"; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-35030; classtype:web-application-attack; sid:9696501; rev:1;)
POST /token
alert http any any -> $HOME_NET [4000,4001,8000] (msg:"GG PoC-Monitor CVE-2026-35030 BerriAI litellm exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/token"; http.request_body; content:"|22|subject|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-35030; classtype:web-application-attack; sid:9323922; rev:1;)
POST /user/new
alert http any any -> $HOME_NET [4000] (msg:"GG PoC-Monitor CVE-2026-35030 BerriAI litellm exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/user/new"; http.header; content:"Authorization: Bearer sk-litellm-master-key"; nocase; http.request_body; content:"|22|user_id|22|:|22|admin|22|"; http.request_body; content:"|22|role|22|:|22|proxy_admin|22|"; http.request_body; content:"|22|user_id|22|:|22|attacker|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-35030; classtype:web-application-attack; sid:9067175; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /user/info
title: BerriAI litellm exploit attempt (CVE-2026-35030)
id: gg-pocmon-cve-2026-35030-9696501
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-35030. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-35030
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/user/info'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.35030
POST /token
title: BerriAI litellm exploit attempt (CVE-2026-35030)
id: gg-pocmon-cve-2026-35030-9323922
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-35030. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-35030
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/token'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.35030
POST /user/new
title: BerriAI litellm exploit attempt (CVE-2026-35030)
id: gg-pocmon-cve-2026-35030-9067175
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-35030. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-35030
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/user/new'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.35030