CVE-2026-40217
CVE-2026-40217 — BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
Published Updated Sources: NVD, BerriAI (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Nov 18, 2026
EPSS
21%
ahead of 98% of scored CVEs
CVSS base
8.8
high
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade litellm to 1.83.10 or later (pip advisory GHSA-wxxx-gvqv-xp7p).
CISA required action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Federal deadline Dec 2, 2026 — passed 3 days ago
Red Hat VEX · CVE-2026-40217
vendor_fix: Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.re…
vendor_fix: For Red Hat OpenShift AI 3.3.4 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully…
workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, appli…
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| BerriAI | LiteLLM | bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f | Vulnerable |
| Pip | litellm | >= 1.81.8, < 1.83.10 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.8 | CVSS 3.1 | high | 2.8 | 5.9 | MITRE (CNA), CNA, BerriAI (CNA), GHSA, Red Hat (VEX) |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-420 · Unprotected Alternate Channel
- Gain Privileges or Assume Identity
- Bypass Protection Mechanism::
Mitigation: Identify all alternate channels and use the same protection mechanisms that are used for the primary channels.::
Weakness & attack patterns
- CWE-420
- CWE-94Code Injection
- CWE-913
Inferred from the weakness class — not observed against this CVE.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Nov 18, 2026
Federal deadline
Dec 2, 2026
passed 3 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
34
2 of the 5 sampled are weaponized
Exploit entries
2
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
5. LiteLLM CVE-2026-40217 (guardrail sandbox escape, root in the default Docker image) is on CISA KEV. Update to 1.83.11+. ZDI's separate stdio MCP command-injection 0-day has no patch, so lock down admin keys.
@wirelesslyhere· Nov 20, 2026
litellm shipped the fix in april. cisa put CVE-2026-40217 on the kev list in november, with known ransomware use. seven months between patch and exploitation, and the patch was already out. the bug is a sandbox escape in the guardrail tester. an admin can test custom guardrail https://t.co/1VtAz2RZfF
@for_N5R1· Nov 20, 2026
🚨 What if a security feature inside your AI gateway could become a route to executing code on the gateway itself? CVE-2026-40217 — LiteLLM custom-code guardrail sandbox escape. CVSS 8.8 (v3.1). KEV Nov 18. CISA confirms exploitation. WHO’S AT RISK? Organizations operating https://t.co/wHJj07iMgV
@YourDailyCVE· Nov 20, 2026
Advisory: BerriAI LiteLLM Remote Code Execution via Guardrails Endpoint (CVE-2026-40217) CVE-2026-40217 allows low-privileged remote attackers to execute arbitrary code on BerriAI LiteLLM via bytecode… Full write-up → link in bio #cybersecurity #infosec #cve #kev #berriai https://t.co/gkzZBPOa1y
@HotaSamit· Nov 19, 2026
Running LiteLLM as your AI gateway? CISA added CVE-2026-40217 (guardrail sandbox escape, root in the default Docker image) to KEV; fixed in 1.83.11+. Separately, ZDI dropped a stdio MCP command-injection RCE as a 0-day, and no patch is coming. Guard admin keys. #infosec
@wirelesslyhere· Nov 19, 2026
11 more posts on this CVEShowing 5 of 16 · Who is discussing this CVE, and how loudlyUnlock freeDetection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /guardrails/test_custom_code.
- Prioritize edge telemetry for network-reachable LiteLLM, Litellm.
- Monitor for scanner or exploit-pattern traffic after 36 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- hostnamejet-night.com96
iocradar0-netizen - Threat Intelligence 1 · Nov 2, 2026
- hostnamenewapi.pro91
iocradar0-netizen - Threat Intelligence 1 · Nov 2, 2026
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
Nov 20, 2026 · SOCRadar CTI
Added · CVSS 3.1 8.8 (AV:N)
Nov 19, 2026 · NVD
Added to CISA KEV catalog
Nov 18, 2026 · CISA
Added · GHSA-wxxx-gvqv-xp7p published (high)
May 11, 2026 · GitHub Security Advisory
Initial · CVE published
Apr 10, 2026 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 36×TweetsNov 19, 2026 – Nov 22, 2026 · SOCRadar CTI
- 3×SVRS was changedNov 19, 2026 – Nov 21, 2026 · SOCRadar CTI
References
14 on the record
- www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/
Exploit, Mitigation, Third Party Advisory, Vendor Advisory, NIST, GITHUB
- access.redhat.com/errata/RHSA-2026:24866
Third Party Advisory, NIST
- access.redhat.com/errata/RHSA-2026:30056
Third Party Advisory, NIST
- access.redhat.com/security/cve/CVE-2026-40217
Third Party Advisory, NIST
- bugzilla.redhat.com/show_bug.cgi?id=2457301
Third Party Advisory, NIST
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json
Third Party Advisory, NIST
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217
US Government Resource, NIST
- github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p
Exploit, Third Party Advisory, Vendor Advisory
Coverage
13 stories from the feeds we poll
GTIG AI Threat Tracker: Agentic Threat Activity Crosses a Significant Threshold
Google Threat Intelligence · Nov 16, 2026
CISA adds four critical vulnerabilities to known exploited catalog - SC Media
scworld.com · Nov 20, 2026
CISA warns of four actively exploited flaws. - N2K CyberWire
thecyberwire.com · Nov 19, 2026
U.S. CISA adds Apache Axis, Vanderbilt REDCap,BerriAI LiteLLM, and Synology DSM flaws to its Known Exploited Vulnerabilities catalog
securityaffairs.com · Nov 19, 2026
U.S. CISA adds Apache Axis, Vanderbilt REDCap,BerriAI LiteLLM, and Synology DSM flaws to its Known Exploit... - Security Affairs
securityaffairs.com · Nov 19, 2026
8 more reports on this CVEShowing 5 of 13 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-42208 LiteLLM: SQL injection in Proxy API key verificationCVSS 9.8 · CISA KEV
- CVE-2026-42271 LiteLLM: Authenticated command execution via MCP stdio test endpointsCVSS 8.8 · CISA KEV
- CVE-2026-33634 Trivy ecosystem supply chain briefly compromisedCVSS 8.8 · CISA KEV
- CVE-2026-59822 LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbackCVSS 8.2 · CISA KEV
- CVE-2026-93355 LiteLLM Weak JWT Authentication via Email-Based User LookupCVSS 8.1
- CVE-2025-32432 Craft CMS Allows Remote Code ExecutionCVSS 10.0 · CISA KEV
Elsewhere on this site
- BerriAIevery CVE for this vendor
- Pipevery CVE for this vendor
- LiteLLMevery page on this product
- November 2026what else CISA listed
- Remote Code Execsame class
- CWE-420other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 2 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-40217 is BerriAI LiteLLM Unprotected Alternate Channel Vulnerability, a high vulnerability affecting LiteLLM, Litellm from BerriAI, Pip. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 36 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 8.8 describes technical severity, while EPSS 21% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.