BerriAI LiteLLM
LiteLLM < 1.83.14 Privilege Escalation via API Key Generation
LiteLLM prior to 1.83.14 allows an authenticated internal_user to create API keys with access to routes that their role does not permit. When generating a key, the allowed_routes field is stored without verifying that the specified routes fall within the user's own permissions. A key created with access to admin-only routes can then be used to reach those routes successfully, bypassing the role-based access controls that would otherwise block the request, enabling full privilege escalation from internal_user to proxy_admin.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.83.14
Fixed in 1.83.14
Mitigation
Upgrade litellm to 1.83.14 or later.
References
- Release notes github.com/BerriAI/litellm/releases/tag/v1.83.…
- Patch github.com/BerriAI/litellm/commit/d910a95661fc…
- Patch github.com/BerriAI/litellm/commit/2220f3076ac8…
1 more
Timeline
Days relative to CVE publicationFirst public PoC 3.5 days after publication; not in CISA KEV. First PoC: learner202649/CVE-2026-47101-PoC (created 25 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 pending · 1 not a PoC
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| learner202649/CVE-2026-47101-PoC | 25 May 2026 +3.5 d | 0 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| HORKimhab/CVE-LiteLLM | 16 Jun 2026 +25 d | 0 | Pending · mkdir /quarantine/HORKimhab__CVE-LiteLLM-4e626520a9c8: permission denied |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| learner202649/CVE-2026-47102-PoC | 25 May 2026 +3.7 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.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://gist.github.com/13ph03nix/9ec616e1fdc77b3673509c60206e827f | unknown | 14 Nov 2026 |
| CVE record (tagged exploit) | https://huntr.com/bounties/8e75edfb-ff05-4e63-bfca-2d93d03fb3b9 | unknown | 14 Nov 2026 |
| CVE record (tagged exploit) | https://www.obsidiansecurity.com/blog/litellm-privilege-escalation-rce | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /user/list
- Key headers
Authorization: Bearer sk-wildcard-keyAuthorization: Bearer $wildcard_keyAuthorization: Bearer {var}- Content-Type
application/json- Ports
- 4000, 4001
- Seen in
- 1 repo: learner202649/CVE-2026-47101-PoC
- Evidence
- learner202649/CVE-2026-47101-PoC/README.md:129 learner202649/CVE-2026-47101-PoC/demo.sh:170 learner202649/CVE-2026-47101-PoC/exploit/exploit.py:216
GET /user/new
- Key headers
Authorization: Bearer {var}- Content-Type
application/json- Ports
- 4000, 4001
- Seen in
- 1 repo: learner202649/CVE-2026-47101-PoC
- Evidence
- learner202649/CVE-2026-47101-PoC/exploit/exploit.py:67 learner202649/CVE-2026-47101-PoC/exploit/exploit.py:76 learner202649/CVE-2026-47101-PoC/exploit/exploit.py:153
POST /key/generate
- Key headers
Authorization: Bearer sk-internal-user-keyAuthorization: Bearer {var}Authorization: Bearer $internal_key- Body markers
"allowed_routes"inapplication/json- Ports
- 4000, 4001
- Seen in
- 1 repo: learner202649/CVE-2026-47101-PoC
- Evidence
- learner202649/CVE-2026-47101-PoC/README.md:89 learner202649/CVE-2026-47101-PoC/README.md:201 learner202649/CVE-2026-47101-PoC/demo.sh:115 learner202649/CVE-2026-47101-PoC/demo.sh:342
POST /user/delete
- Key headers
Authorization: Bearer sk-wildcard-keyAuthorization: Bearer $wildcard_key- Body markers
"user_ids"inapplication/json- Ports
- 4000, 4001
- Seen in
- 1 repo: learner202649/CVE-2026-47101-PoC
- Evidence
- learner202649/CVE-2026-47101-PoC/README.md:146 learner202649/CVE-2026-47101-PoC/demo.sh:203
POST /user/new
- Key headers
Authorization: Bearer sk-litellm-master-keyAuthorization: Bearer {var}- Body markers
"role":"internal_user"inapplication/json- Ports
- 4000, 4001
- Seen in
- 1 repo: learner202649/CVE-2026-47101-PoC
- Evidence
- learner202649/CVE-2026-47101-PoC/README.md:69 learner202649/CVE-2026-47101-PoC/README.md:189 learner202649/CVE-2026-47101-PoC/demo.sh:80 learner202649/CVE-2026-47101-PoC/demo.sh:334 learner202649/CVE-2026-47101-PoC/exploit/exploit.py:42 learner202649/CVE-2026-47101-PoC/exploit/exploit.py:98
POST /user/update
- Key headers
Authorization: Bearer sk-wildcard-keyAuthorization: Bearer $wildcard_key- Body markers
"user_id":"your-user-id""user_role":"proxy_admin""user_id":"$user_id"inapplication/json- Ports
- 4000, 4001
- Seen in
- 1 repo: learner202649/CVE-2026-47101-PoC
- Evidence
- learner202649/CVE-2026-47101-PoC/README.md:109 learner202649/CVE-2026-47101-PoC/demo.sh:144
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/user/list(?:[?#].*)?$
(?i)^/user/new(?:[?#].*)?$
(?i)^/key/generate(?:[?#].*)?$
(?i)^/user/delete(?:[?#].*)?$
(?i)^/user/new(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [4000,4001] (msg:"GG PoC-Monitor CVE-2026-47101 BerriAI litellm exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/user/list"; http.header; content:"Authorization: Bearer sk-wildcard-key"; nocase; http.header; content:"Authorization: Bearer $wildcard_key"; nocase; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-47101; classtype:web-application-attack; sid:9829909; rev:1;)
alert http any any -> $HOME_NET [4000,4001] (msg:"GG PoC-Monitor CVE-2026-47101 BerriAI litellm exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/user/new"; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-47101; classtype:web-application-attack; sid:9634709; rev:1;)
alert http any any -> $HOME_NET [4000,4001] (msg:"GG PoC-Monitor CVE-2026-47101 BerriAI litellm exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/key/generate"; http.header; content:"Authorization: Bearer sk-internal-user-key"; nocase; http.header; content:"Authorization: Bearer "; nocase; http.header; content:"Authorization: Bearer $internal_key"; nocase; http.request_body; content:"|22|allowed_routes|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-47101; classtype:web-application-attack; sid:9531034; rev:1;)
alert http any any -> $HOME_NET [4000,4001] (msg:"GG PoC-Monitor CVE-2026-47101 BerriAI litellm exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/user/delete"; http.header; content:"Authorization: Bearer sk-wildcard-key"; nocase; http.header; content:"Authorization: Bearer $wildcard_key"; nocase; http.request_body; content:"|22|user_ids|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-47101; classtype:web-application-attack; sid:9197128; rev:1;)
alert http any any -> $HOME_NET [4000,4001] (msg:"GG PoC-Monitor CVE-2026-47101 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.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|role|22|:|22|internal_user|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-47101; classtype:web-application-attack; sid:9158571; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: BerriAI litellm exploit attempt (CVE-2026-47101)
id: gg-pocmon-cve-2026-47101-9829909
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-47101. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-47101
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/user/list'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.47101
title: BerriAI litellm exploit attempt (CVE-2026-47101)
id: gg-pocmon-cve-2026-47101-9634709
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-47101. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-47101
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/user/new'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.47101
title: BerriAI litellm exploit attempt (CVE-2026-47101)
id: gg-pocmon-cve-2026-47101-9531034
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-47101. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-47101
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/key/generate'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.47101
title: BerriAI litellm exploit attempt (CVE-2026-47101)
id: gg-pocmon-cve-2026-47101-9197128
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-47101. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-47101
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/user/delete'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.47101
title: BerriAI litellm exploit attempt (CVE-2026-47101)
id: gg-pocmon-cve-2026-47101-9158571
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-47101. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-47101
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/user/new'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.47101