// CVE

CVE-2026-40217

High 8.8 Exploited (KEV)

BerriAI LiteLLM

8.8CVSS
17%EPSS
YesCISA KEV

Summary

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

Published: 2026-04-10 · In KEV since: 2026-11-18

Analysis

🔴 Critical — actively exploited

Weakness: CWE-420.

How it's exploited: Exploitable over the network (internet-reachable), with low privileges, no user interaction, and with low complexity.

Impact: Full compromise (confidentiality, integrity and availability).

Status: Active exploitation confirmed by CISA (KEV).

How to defend:
  • Patch now: it is in CISA's actively-exploited catalog (KEV), with a deadline.
  • Reduce exposure: keep it off the internet; firewall, VPN or network segmentation.
  • Detect: turn this CVE into detection rules.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

The vector encodes how it's exploited (translated above, in the analysis). Break it down in the CVSS tool →

← Back to the Threat Radar

Sources: CISA KEV · EPSS · FIRST.org · NVD. Analysis derived from the CVSS vector and exploitation status (no AI). Informational; always verify against the vendor's official advisory.