---
title: "CVE-2026-40217: BerriAI LiteLLM Unprotected Alternate Channel Vulnerability"
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."
canonical: "https://cyber.askgina.ai/incidents/k-7bcb25ac"
lastmod: "2026-11-18"
kind: "incident"
index: true
---

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

[HTML version](<https://cyber.askgina.ai/incidents/k-7bcb25ac>)

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.

## Record details

- **Date added to CISA KEV:** 2026-11-18
- **CVE:** CVE-2026-40217
- **Vendor:** BerriAI
- **Product:** LiteLLM
- **Weakness identifiers:** CWE-420
- **CISA remediation due:** 2026-12-02
- **Ransomware use:** Not listed as known
- **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.

## Confidence and scope

CISA lists the vulnerability as exploited. The catalog addition date is not the date of any individual attack.

## Sources

- [CISA KEV](<https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2026-40217>)
- [NVD](<https://nvd.nist.gov/vuln/detail/CVE-2026-40217>)

## Pattern tags

- [Injection and code execution](<https://cyber.askgina.ai/patterns/injection-rce>)
