Security Digest · Vulnerability record · Known exploited
CVE-2026-40217: BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
Exploited in the wild (CISA KEV). LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/testcustomcode URI.
CISA KEV · added 2026-11-18 CVSS 8.8 High EPSS 78.0% · p99.6 Patch this week
Should you act?
Exploited: patch now if you run it
CISA has confirmed exploitation in the wild. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.
- Yes, if you run BerriAI LiteLLM. CISA added this CVE to its Known Exploited Vulnerabilities catalog on 2026-11-18, which means there is reliable evidence of exploitation in the wild. US federal agencies must remediate by 2026-12-02; treat that as the outer limit, not the target.
- EPSS 78.0%, percentile 99.6: FIRST’s model estimates a 78.0% chance of exploitation activity in the next 30 days, higher than 99.6% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Editorial verdict: Patch this week. LiteLLM Proxy: Four Exploited Flaws in CISA KEV — If you run a self-hosted LiteLLM Proxy older than 1.84.0, upgrade now and treat the provider keys it holds as possibly exposed; SDK-only users are not affected.
What it is
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/testcustomcode URI.
CISA’s summary
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.
Weakness type: CWE-420, CWE-94.
Product: BerriAI LiteLLM · Assigned by: mitre · Published: 2026-04-10
Affected and fixed versions
| Vendor | Product | Affected versions (per CVE record) |
|---|---|---|
| BerriAI | LiteLLM | bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f |
Severity scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| mitre | 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADP | 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- Attack vector: network (remotely reachable)
- Attack complexity: low
- Privileges required: low (any account)
- User interaction: none
- Scope: unchanged
CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.
Exploitation and urgency
- CISA KEV: added 2026-11-18; federal due date 2026-12-02. Known ransomware use: Unknown.
- CISA 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.
- CISA SSVC assessment: exploitation active, automatable no, technical impact total.
- FIRST EPSS (model of 2026-11-21): 78.00% probability of exploitation activity in the next 30 days; percentile 99.6.
Timeline
- — CVE record published by mitre
- — erroneo.us brief: LiteLLM Proxy: Four Exploited Flaws in CISA KEV
- — Added to CISA’s Known Exploited Vulnerabilities catalog
- — CVE record last updated
- — CISA remediation deadline for US federal agencies
Sources and references
Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.
Vendor and project advisories, patches
- access.redhat.com access.redhat.com
- access.redhat.com access.redhat.com
- Listed in CISA KEV notes (github.com) github.com
Vulnerability records
- CVE.org record CVE-2026-40217 cve.org
- NVD entry CVE-2026-40217 nvd.nist.gov
Government
- CISA Known Exploited Vulnerabilities catalog entry cisa.gov
- Listed in CISA KEV notes (cisa.gov) cisa.gov
- Listed in CISA KEV notes (cisa.gov) cisa.gov
Other references from the CVE record and advisory
- x41-dsec.de x41-dsec.de
- access.redhat.com access.redhat.com
- RHBZ#2457301 bugzilla.redhat.com
- security.access.redhat.com security.access.redhat.com
All exploited BerriAI vulnerabilities · Today’s Security Digest