Vulnerability details

CVE-2026-40217

BerriAI litellmRed Hat Lightspeed Core
CVSS 3.1
8.8High

Official description

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

Related news

CVSS scores

ScoreVersionSourceVector
8.8High 3.1 CVEProject cvelistV5 (CNA) (mitre) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
8.8High 3.1 CVEProject cvelistV5 (CNA) (redhat-SADP) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
BerriAI litellm bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f CVEProject cvelistV5 (CNA)
Red Hat Lightspeed Core All CVEProject cvelistV5 (CNA)

References and advisories

6
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-04-10
Last updated
2026-07-15
State
Published
Assigner (CNA)
mitre
Kolun priority
44 · Medium

Exploit prediction (EPSS)

17.02%
Probability of exploitation in 30 days
97%
Percentile (among all CVEs)
  • 2026-11-0417.02%
  • 2026-11-0315.53%

SSVC assessment (CISA)

Automatable
No
Exploitation
Proof of concept
Technical impact
Total

Weaknesses (CWE)

  • CWE-420
    Unprotected Alternate Channel
  • CWE-94
    Improper Control of Generation of Code ('Code Injection')