CVE-2026-40217

Description

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

Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
61.911%
chance of exploitation in the next 30 days
higher than 99.2% of scored CVEs · 2026-11-19
CISA KEV
Listed
added 2026-11-18
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 1

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameBerriAI LiteLLM Unprotected Alternate Channel Vulnerability
Vendor / productBerriAI / LiteLLM
Date added2026-11-18
Federal remediation due date2026-12-02
Required actionApply 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.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impacttotal
Scored2026-11-19

Timeline

  1. 2026-04-10Published by the CNA13:43 UTC
  2. 2026-04-10Published in NVD14:16 UTC · 33 minutes after the CNA
  3. 2026-05-11GitHub advisory published (GHSA-wxxx-gvqv-xp7p)31 days after publication
  4. 2026-11-18Added to the CISA KEV catalog222 days after publication
  5. 2026-11-19CISA SSVC decision recorded223 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Nuclei templates:

GitHub advisory GHSA-wxxx-gvqv-xp7p, affected packages:

PackageVulnerable versionsFixed in
PyPI litellmfrom 1.81.8 before 1.83.101.83.10

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
litellm litellmfrom 1.81.8 before 1.83.10fixed in 1.83.101.83.10
redhat ansible_automation_platformfrom 2.0 before 2.6-9fixed in 2.6-92.6-9
redhat openshift_aifrom 3.3 before 3.3.4fixed in 3.3.43.3.4
redhat openshift_lightspeed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources