---
title: "CVE-2026-40217: BerriAI LiteLLM Unprotected Alternate Channel Vulnerability"
url: https://erroneo.us/security/cve/CVE-2026-40217/
description: "CVE-2026-40217 (BerriAI LiteLLM): Exploited in the wild (CISA KEV). LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-04-10
date_modified: 2026-11-19
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-40217"
kev: true
cvss: 8.8
epss: 0.78004
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-40217: BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

**Signal:** Exploited: patch now if you run it. CISA has confirmed exploitation in the wild. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- 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.

## Affected products (CVE record)

- BerriAI LiteLLM: bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f

## Severity

- mitre CVSS 3.1: 8.8 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP CVSS 3.1: 8.8 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- 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.

## Sources

- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:24866)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:30056)
- [Listed in CISA KEV notes (github.com)](https://github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p)
- [CVE.org record CVE-2026-40217](https://www.cve.org/CVERecord?id=CVE-2026-40217)
- [NVD entry CVE-2026-40217](https://nvd.nist.gov/vuln/detail/CVE-2026-40217)
- [CISA Known Exploited Vulnerabilities catalog entry](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217)
- [Listed in CISA KEV notes (cisa.gov)](https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk)
- [Listed in CISA KEV notes (cisa.gov)](https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk)
- [x41-dsec.de](https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/)
- [access.redhat.com](https://access.redhat.com/security/cve/CVE-2026-40217)
- [RHBZ#2457301](https://bugzilla.redhat.com/show_bug.cgi?id=2457301)
- [security.access.redhat.com](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json)

---
Source page: https://erroneo.us/security/cve/CVE-2026-40217/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
