Skip to content
high 8.8Exploited

CVE-2026-40217

BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

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

CVSS 3.1
8.8
Exploit probability
17%
Known exploited
Yes
Published
10 Apr 2026

Exploited in the wild

Confirmed exploitation of BerriAI LiteLLM, added to the known-exploited catalogue on 18 Nov 2026.

Fix by
2 Dec 2026
Used in ransomware campaigns
Not known
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.

Scores

Severity from the official assessment; exploit probability is the chance of exploitation activity in the next 30 days.

Severity
High
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploit probability
17%, higher than 97% of CVEs
Weakness
CWE-420, CWE-94
Status
Modified, last modified 19 Nov 2026

Affected software

Products and version ranges listed as vulnerable.

ProductVersions
litellm litellmup to 2026-04-08

References

Advisories, patches and write-ups. Links leave Tohou.

Is CVE-2026-40217 on your attack surface?

Sonar records the software running on your assets and alerts you when a new CVE matches it, without waiting for the next scan.

From public vulnerability feeds, refreshed every 12 hours. As JSON: https://api.tohou.io/v1/cves/CVE-2026-40217 (needs a Tohou API key; free accounts included). Exploit probability is the EPSS score. This product uses data from the NVD API but is not endorsed or certified by the NVD.