How 3 bugs made this LiteLLM vulnerability
A chain of three vulnerabilities in LiteLLM, an open-source AI gateway, allows a low-privilege user to escalate to full admin and execute arbitrary code on the server. The vulnerabilities include an authorization bypass, privilege escalation, and a sandbox escape leading to server-side code execution. Exploiting the chain exposes all provider keys, stored credentials, and data passing through the gateway, enabling an attacker to alter AI model responses and potentially execute arbitrary commands on connected systems. The maintainer released a full fix in LiteLLM v1.83.14-stable.
AI Analysis
Technical Summary
Researchers at Obsidian Security disclosed a critical vulnerability chain in LiteLLM involving three bugs: CVE-2026-47101 (authorization bypass via unchecked allowed_routes field), CVE-2026-47102 (privilege escalation by modifying user_role to proxy_admin), and CVE-2026-40217 (sandbox escape via unsafe exec() usage in Custom Code Guardrail). Together, these allow a low-privilege internal user to gain full proxy admin rights and execute arbitrary code on the server. This compromises all provider keys, encrypted credentials (decryptable with exposed salt key), and all data routed through the proxy. The attacker can also manipulate AI model responses using LiteLLM's callback mechanism, enabling remote code execution on client machines. The maintainer fixed these issues in version 1.83.14-stable released May 2, 2026.
Potential Impact
Successful exploitation results in full server takeover of the LiteLLM proxy, exposing all AI provider keys, decryption keys for stored credentials, database URLs, and all prompt/response data including potentially sensitive information. The attacker can execute arbitrary code on the server and manipulate AI model responses in transit, potentially causing downstream compromise of client systems. This represents a critical security risk to any deployment using vulnerable versions of LiteLLM.
Mitigation Recommendations
Upgrade LiteLLM to version 1.83.14-stable or later, which contains the complete fix set for the three vulnerabilities. After upgrading, audit all accounts with proxy_admin privileges and treat them as having host-level access. Review all Custom Code Guardrails and callbacks configured in litellm_settings.callbacks, as these can be abused post-compromise. Verify the integrity of deployed code and rotate all provider keys, database credentials, and MCP tokens if exposure is suspected. No other mitigations are indicated beyond applying the official patch and conducting thorough post-patch audits.
How 3 bugs made this LiteLLM vulnerability
Description
A chain of three vulnerabilities in LiteLLM, an open-source AI gateway, allows a low-privilege user to escalate to full admin and execute arbitrary code on the server. The vulnerabilities include an authorization bypass, privilege escalation, and a sandbox escape leading to server-side code execution. Exploiting the chain exposes all provider keys, stored credentials, and data passing through the gateway, enabling an attacker to alter AI model responses and potentially execute arbitrary commands on connected systems. The maintainer released a full fix in LiteLLM v1.83.14-stable.
Reddit Discussion
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Researchers at Obsidian Security disclosed a critical vulnerability chain in LiteLLM involving three bugs: CVE-2026-47101 (authorization bypass via unchecked allowed_routes field), CVE-2026-47102 (privilege escalation by modifying user_role to proxy_admin), and CVE-2026-40217 (sandbox escape via unsafe exec() usage in Custom Code Guardrail). Together, these allow a low-privilege internal user to gain full proxy admin rights and execute arbitrary code on the server. This compromises all provider keys, encrypted credentials (decryptable with exposed salt key), and all data routed through the proxy. The attacker can also manipulate AI model responses using LiteLLM's callback mechanism, enabling remote code execution on client machines. The maintainer fixed these issues in version 1.83.14-stable released May 2, 2026.
Potential Impact
Successful exploitation results in full server takeover of the LiteLLM proxy, exposing all AI provider keys, decryption keys for stored credentials, database URLs, and all prompt/response data including potentially sensitive information. The attacker can execute arbitrary code on the server and manipulate AI model responses in transit, potentially causing downstream compromise of client systems. This represents a critical security risk to any deployment using vulnerable versions of LiteLLM.
Mitigation Recommendations
Upgrade LiteLLM to version 1.83.14-stable or later, which contains the complete fix set for the three vulnerabilities. After upgrading, audit all accounts with proxy_admin privileges and treat them as having host-level access. Review all Custom Code Guardrails and callbacks configured in litellm_settings.callbacks, as these can be abused post-compromise. Verify the integrity of deployed code and rotate all provider keys, database credentials, and MCP tokens if exposure is suspected. No other mitigations are indicated beyond applying the official patch and conducting thorough post-patch audits.
Technical Details
- Source Type
- Subreddit
- cybersecurity
- Reddit Score
- 0
- Discussion Level
- minimal
- Content Source
- reddit_link_post
- Post Type
- link
- Domain
- null
- Newsworthiness Assessment
- {"score":30,"reasons":["external_link","newsworthy_keywords:vulnerability","established_author","very_recent"],"isNewsworthy":true,"foundNewsworthy":["vulnerability"],"foundNonNewsworthy":[]}
- Has External Source
- true
- Trusted Domain
- false
Threat ID: 6a3052c00b89be68888264ba
Added to database: 6/15/2026, 7:30:08 PM
Last enriched: 6/15/2026, 7:30:15 PM
Last updated: 6/15/2026, 10:16:51 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.