Vulnerability details
CVE-2026-40217
BerriAI litellmRed Hat Lightspeed Core
CVSS 3.1
8.8High
Official description
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
Related news
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.8High | 3.1 | CVEProject cvelistV5 (CNA) (mitre) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 8.8High | 3.1 | CVEProject cvelistV5 (CNA) (redhat-SADP) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| BerriAI | litellm | bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f | CVEProject cvelistV5 (CNA) |
| Red Hat | Lightspeed Core | All | CVEProject cvelistV5 (CNA) |
References and advisories
6- https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/
- https://access.redhat.com/security/cve/CVE-2026-40217 vdb-entryx_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2457301 issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:24866 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:30056 vendor-advisoryx_refsource_REDHAT
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-04-10
- Last updated
- 2026-07-15
- State
- Published
- Assigner (CNA)
- mitre
- Kolun priority
- 44 · Medium
Exploit prediction (EPSS)
17.02%
Probability of exploitation in 30 days
97%
Percentile (among all CVEs)
- 2026-11-0417.02%
- 2026-11-0315.53%
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-420Unprotected Alternate Channel
- CWE-94Improper Control of Generation of Code ('Code Injection')