CVE-2026-40217: BerriAI LiteLLM · Unprotected Alternate Channel
Affects BerriAI LiteLLMSource CVE Database V5
Not known to be exploited · public detection template (Nuclei) · 15% EPSS · CVSS 8.8 High.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 15.5% chance of exploitation in 30 days – higher than 96% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Apr 2026
Detectable: evidence found.
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| BerriAILiteLLM | Affected
| Fixed in– |
AI-suggested
Red Hat has published advisories referencing CVE-2026-40217, indicating that updates or fixes may be available through Red Hat errata. Users should monitor the referenced Red Hat advisories (https://access.redhat.com/security/cve/CVE-2026-40217, https://access.redhat.com/errata/RHSA-2026:24866, https://access.redhat.com/errata/RHSA-2026:30056) for official patches or updates. Until a patch is applied, restrict access to the vulnerable URI endpoint (/guardrails/test_custom_code) if possible to mitigate risk.
Description
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
References
- x41-dsec.de/lab/advisories/x41-2026-001-litellm/ (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-40217 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2457301 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24866 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:30056 (opens in a new tab)