LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
CVE-2026-40217
“—” beside the score: it is equal to the CVSS score beside it.
This high-severity CVE scores 8.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 3.4% (88th percentile of EPSS-scored CVEs). No GitHub Security Advisory CVSS is on record for this CVE.
- CISA's Vulnrichment rates exploitation as PoC; EchelonGraph holds no exploit-code reference for it
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8HIGHmedium confidence
- EG Risk
- 56EG Risk 56/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computed (value × EchelonGraph’s weight)Severity88% × 45%The EG Score, 8.8 of 10.Exploitation40% × 40%EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.Automatability0% × 15%CISA's SSVC Automatable value: no (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at low, Track* at medium and Attend at high mission impact.Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 3.4%
- EPSS %ILE
- 88th
- KEV
- Not listed
SSVC (CISA's decision table, applied by EchelonGraph)Track at low, Track* at medium and Attend at high mission impact.
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.
In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
April 10, 2026
Last Modified
July 15, 2026
Advisory Details (1)
Auto-updated May 2, 2026Advisory X41-2026-001: Guardrail Sandbox Escape in LiteLLM | X41 D-Sec - Penetration Tests and Source Code Audits
https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/Vendor Advisories for CVE-2026-40217(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(2)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| redhat | rhoai/odh-llama-stack-core-rhel9:1782310008 | 2026-06-25 | redhat |
| redhat | ansible-automation-platform-26/lightspeed-chatbot-rhel9:1780102732 | 2026-06-09 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| litellm | 1.81.10 ... 1.83.9 (27 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 25× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 98 of 191 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 2 repeat rows among the latest 100 are merged into the row they repeat. The 93 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-10-16 16:42 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-15 16:32 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-14 16:32 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-13 16:34 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-12 16:34 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-12 16:09 UTCEG score recompute
- 2026-10-11 19:52 UTCEG score recompute
- 2026-10-11 17:05 UTCEG score recompute
- 2026-10-11 14:31 UTCEG score recompute
- 2026-10-11 13:48 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-10 20:00 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-09 20:07 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-08 17:12 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-07 23:48 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-06 15:17 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-05 17:43 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-04 23:22 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-03 14:25 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-10-01 19:50 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-09-30 15:03 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-09-27 13:48 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-09-26 15:58 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-09-26 00:26 UTCEPSS rescoreEPSS 3.4% · 88th percentile
- 2026-09-18 19:28 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-17 19:30 UTCEPSS rescoreEPSS 15% · 96th percentile
Show 73 moreShow fewer
- 2026-09-16 14:08 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-16 05:15 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-15 03:11 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-13 16:47 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-12 15:01 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-11 14:53 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-11 09:37 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-10 09:34 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-08 22:00 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-07 16:01 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-06 13:47 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-04 05:06 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-02 14:12 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-01 13:53 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-09-01 04:39 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-08-30 19:17 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-08-30 01:22 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-08-28 21:41 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-08-27 14:25 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-08-26 14:46 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-08-25 13:49 UTCEPSS rescoreEPSS 15% · 96th percentile
- 2026-08-23 00:19 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-21 23:49 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-20 22:55 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-19 17:03 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-18 13:48 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-17 13:47 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-16 14:56 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-16 07:03 UTCEG score recompute
- 2026-08-16 07:03 UTCVendor advisory
- 2026-08-16 02:14 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-15 01:30 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-14 16:12 UTCVendor advisory
- 2026-08-14 05:03 UTCEG score recompute
- 2026-08-14 05:03 UTCVendor advisory
- 2026-08-13 22:00 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-13 09:21 UTCVendor advisory
- 2026-08-12 19:16 UTCEG score recompute
- 2026-08-12 19:16 UTCVendor advisory
- 2026-08-12 13:51 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-11 19:24 UTCEG score recompute
- 2026-08-11 19:24 UTCVendor advisory
- 2026-08-11 13:43 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-11 02:57 UTCVendor advisory
- 2026-08-10 02:47 UTCVendor advisory
- 2026-08-09 15:38 UTCEG score recompute
- 2026-08-09 15:38 UTCVendor advisory
- 2026-08-09 13:46 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-09 04:29 UTCEG score recompute
- 2026-08-09 04:29 UTCVendor advisory
- 2026-08-08 16:37 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-08 01:28 UTCEG score recompute
- 2026-08-08 01:28 UTCVendor advisory
- 2026-08-07 14:20 UTCEG score recompute
- 2026-08-07 14:20 UTCVendor advisory
- 2026-08-06 13:46 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-06 12:40 UTCVendor advisory
- 2026-08-05 23:41 UTCEG score recompute
- 2026-08-05 23:41 UTCVendor advisory
- 2026-08-05 19:17 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-04 15:10 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-03 21:56 UTCEG score recompute
- 2026-08-03 21:56 UTCVendor advisory
- 2026-08-03 10:36 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-03 00:56 UTCVendor advisory
- 2026-08-02 13:47 UTCEG score recompute
- 2026-08-02 13:47 UTCVendor advisory
- 2026-08-02 02:27 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-08-01 04:16 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-07-30 16:28 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-07-30 01:30 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-07-27 14:13 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
- 2026-07-26 14:54 UTCEPSS rescoreEPSS 6.5% · 93rd percentile
Public detection templates
(1 reference)A public Nuclei detection template is referenced for this CVE. A detection template checks whether a system is affected; it is not necessarily exploit code.
- Nucleihttp/cves/2026/CVE-2026-40217.yamlPublished Aug 22, 2026
LiteLLM < 1.25.0 - Remote Code Execution
Open source ↗
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownPyPI:litellm
- CVE-2026-37004EG 9.8CRITICAL
- CVE-2026-12773EG 9.8CRITICAL
- CVE-2026-49468EG 9.8CRITICAL
- CVE-2026-42208EG 9.8 KEVEPSS p93CRITICAL
- CVE-2024-5751EG 9.8CRITICAL
- CVE-2024-4264EG 9.8CRITICAL
- CVE-2024-2952EG 9.8CRITICAL
- CVE-2026-35030EG 9.1CRITICAL
- CVE-2026-59822NVD 8.2EG 9.0 KEVCRITICAL
- CVE-2026-42271NVD 8.8EG 9.0 KEVEPSS p100CRITICAL
Same vendor
10 shownredhat:RHSA-2026:24866 · redhat:RHSA-2026:30056
- CVE-2025-62718EG 9.9CRITICAL
- CVE-2026-39892EG 9.8CRITICAL
- CVE-2026-35030EG 9.1CRITICAL
- CVE-2026-48710NVD 6.5EG 9.0 KEVEPSS p94CRITICAL
- CVE-2026-42271NVD 8.8EG 9.0 KEVEPSS p100CRITICAL
- CVE-2026-35029EG 8.8EPSS p90HIGH
- CVE-2026-41140EG 8.7HIGH
- CVE-2026-33154EG 8.1HIGH
- CVE-2026-6321EG 7.5HIGH
- CVE-2026-40192EG 7.5HIGH
Frequently asked(5)
What is CVE-2026-40217?
When was the CVE record for CVE-2026-40217 published?
Is CVE-2026-40217 actively exploited?
What is the CVSS score of CVE-2026-40217?
How do I remediate CVE-2026-40217?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-40217
Is Your Infrastructure Affected by CVE-2026-40217?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.