BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
BerriAI — LiteLLM
- Published to NVD
- 10 April 2026
- Disclosure to KEV listing
- 221 days
- EPSS (30-day exploitation probability)
- 17.0% · 97.1th percentile · 18 November 2026
- Added to KEV catalog
- 18 November 2026
- Federal remediation due date
- 2 December 2026
- Weakness classification (CWE)
- CWE-420
Is CVE-2026-40217 actively exploited?
Yes. CISA added CVE-2026-40217 to its Known Exploited Vulnerabilities catalog on 18 November 2026, which means there is evidence it has been exploited in the wild. FIRST's EPSS model estimates a 17.0% probability of exploitation activity in the next 30 days, placing it in the 97.1th percentile of all scored CVEs.
How severe is CVE-2026-40217?
CVE-2026-40217 has a CVSS base score of 8.8 out of 10, rated High. Its CVSS vector is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The score measures technical severity; active exploitation, shown by the KEV listing, is the stronger reason to act quickly.
Which versions are affected by CVE-2026-40217?
NVD lists these affected versions for CVE-2026-40217: Litellm Litellm: up to and including 2026-04-08.
How do I fix CVE-2026-40217?
CISA's required action for CVE-2026-40217 is: 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. The vendor advisory and patch links on this page point to the vendor's own fix guidance. US federal agencies must remediate it by 2 December 2026; treat that as an outside deadline, not a target.
Affected versions (NVD)
- Litellm Litellm: up to and including 2026-04-08
Version ranges as published in NVD's CPE configurations. Confirm against the vendor advisory before relying on them.
Vendor advisories and patches
AI Breakdown
What it is
BerriAI LiteLLM contains a security vulnerability affecting versions through 2026-04-08. Remote attackers can exploit an unprotected alternate channel by sending requests to the custom code testing endpoint to rewrite bytecode. This flaw allows unauthorized remote users to execute arbitrary code on the host system.
Why it matters
This vulnerability carries a severe CVSS score of 8.8, enabling attackers to take control of systems running LiteLLM. While known ransomware campaign use is currently unknown, its presence on the Known Exploited Vulnerabilities catalog confirms active threat activity. Federal agencies face a strict remediation deadline of December 2, 2026, underscoring the urgency of the threat.
Recommended action
Apply vendor-provided mitigations immediately in accordance with vendor instructions and CISA BOD 26-04 risk-based guidance. Evaluate all internet-exposed assets running LiteLLM and perform forensic triage requirements where necessary. If official mitigations are not available, discontinue use of the product or follow applicable cloud service guidance to isolate the system.
AI-generated from CISA and NVD data — treat as a starting point, not a substitute for your own risk assessment.
CISA Description
BerriAI LiteLLM contains an unprotected alternate channel vulnerability that could allow remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
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.
Notes
https://github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-40217
NVD Technical Description
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
More BerriAI Vulnerabilities
Is this vulnerability present in your environment?
CRS delivers independent VAPT assessments that identify exactly which known-exploited vulnerabilities exist in your network, applications, and infrastructure.
Explore VAPT Services







