Sovra Recon·Actively exploited

CVE-2026-40217BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

At a glance

CVE-2026-40217 is a high-severity vulnerability (CVSS score 8.8) affecting LiteLLM (BerriAI). CISA has confirmed that attackers have been exploiting it since November 18, 2026.

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

Details

The vulnerability in detail

CVE ID
CVE-2026-40217
Vendor
BerriAI
Product
LiteLLM
Severity (CVSS)
High · 8.8 / 10
Published
April 10, 2026
Actively exploited
Yes, confirmed by CISA on November 18, 2026
Used in ransomware
Not reported
Weakness type (CWE)
CWE-420

What to do

How to protect against CVE-2026-40217

  • Check whether you are affected: identify the installed versions of the product and compare them with the vendor's security advisory.
  • Apply the vendor's patch as a priority on Internet-facing systems, since this vulnerability is already being exploited.
  • If no patch is available, apply the published workarounds or take the service off the Internet.
  • Look for signs of compromise: a vulnerability exploited before you patched may already have been used. Review your logs and the indicators published by the vendor.

Sources

Official descriptions from NVD and CISA, in their original wording.

Patching a CVE is not enough.

The vulnerabilities specific to your application have no CVE. Our AI agents hunt for them by actually attacking your systems.