Skip to content

berriai/litellm

LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the…

CVE-2026-40217Published 10 Apr 2026, 13:43 UTC

Real-world risk

8.0/ 10High

Act now: it is being exploited.

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.8

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from mitre)

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

Am I affected?

ProductAffected versions (from the sources)Fixed in
berriai/litellmCommon= bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T5: Exploited in the wild (× 1.00)

On CISA KEV or VulnCheck KEV, flagged exploited by ENISA's EUVD, CISA's SSVC says active, or the vendor's or CNA's own page says it is exploited

  • On CISA’s Known Exploited Vulnerabilities list
  • Nuclei scanner template (link)
  • CISA SSVC: exploitation active

EPSS 83.1% chance of exploitation in 30 days (percentile 100), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.600
  2. Threat T5: Exploited in the wild1.000
  3. 10 × impact 1 × prerequisites 0.6 × threat 16.000
  4. Exploited in the wild: attackers have already met the prerequisites, so they count only by their square root7.746
  5. Exploited in the wild: at least 88.000
  6. Rounded to one decimal between 0.1 and 108.0

How the score works

Exploitation and evidence timeline

  1. 10 Apr 2026 Published
  2. 18 Nov 2026 Added to CISA KEV
  3. 3 Dec 2026 Nuclei scanner template first seen
  4. 3 Dec 2026 CISA SSVC: exploitation active first seen
  5. 3 Dec 2026 Risk 8.0 (cvss fallback)

Weakness

CWE-420

References

Get alerts for berriai/litellm

Free email or text alerts when a vulnerability in berriai/litellm reaches risk 8 or higher. Nothing else.