CVE-2026-40217: high-severity vulnerability in BerriAI LiteLLM
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
83Vexday Risk Score
Patch now. It exploitation observed by VulnCheck and has a working public exploit.
ssvc Actcvss 8.8epss 17%
from disclosure to weapon39 days
Published on NVDApr 10
1st PoC+39d
VulnCheck+111d
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
BerriAI · LiteLLMpublic PoCs found — 3
githubgithub.com/learner202649/CVE-2026-40217-PoC★ 0vulncheckvulncheck.com/xdb/ca56f7434d6bunverifiedvulncheckvulncheck.com/xdb/ea5c3b98bcaaunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — BerriAI LiteLLM
In the same product, most dangerous first.
CVE-2026-33634CRITICALTrivy ecosystem supply chain briefly compromisedEPSS 59.7%KEVCVE-2026-108574MEDIUMBerriAI LiteLLM Spend Tracking spend_management_endpoints.py ui_view_session_spend_logs authorizationEPSS 0.2%CVE-2026-108575MEDIUMBerriAI LiteLLM Secret Resolution main.py get_secret improper authorizationEPSS 0.2%
References
https://access.redhat.com/errata/RHSA-2026:24866https://access.redhat.com/errata/RHSA-2026:30056https://access.redhat.com/security/cve/CVE-2026-40217https://bugzilla.redhat.com/show_bug.cgi?id=2457301https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.jsonhttps://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/