CVE-2026-40217

BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

Actively exploited · CISA KEV
8.8 HighCVSS v3.1
83.1%EPSS (30-day exploit probability)
2026-11-18added to KEV
2026-12-02CISA federal due date

Summary

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

LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-420, CWE-94
Published
2026-04-10 (last modified 2026-11-19)

What to do

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.

  1. Find every instance of BerriAI LiteLLM in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2026-40217 being exploited?

Yes. CISA added CVE-2026-40217 to its Known Exploited Vulnerabilities catalog on 2026-11-18, which means there is reliable evidence of active exploitation.

How do I fix CVE-2026-40217?

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.

What is the EPSS score for CVE-2026-40217?

The EPSS score is 83.12%, meaning an estimated 83.12% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited BerriAI vulnerabilities

CVE-2026-59822BerriAI LiteLLM Improper Authentication Vulnerability2026-09-02
CVE-2026-42271BerriAI LiteLLM Command Injection Vulnerability2026-06-08
CVE-2026-42208BerriAI LiteLLM SQL Injection Vulnerability2026-05-08

All BerriAI exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.

This product uses the NVD API but is not endorsed or certified by the NVD. CVSS is owned by FIRST and used by permission; scores are shown with their vector string. Credits & licences