Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-40217

high CISA KEV

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

Vendor / product: Litellm — litellm

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

CVSS
8.8
8.8 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (cve@mitre.org)
Timeline (UTC)
Published: 2026-04-10 14:16
Modified: 2026-11-19 17:18
NVD status: Analyzed
Last synced 1 hour ago
Verified against the source API 2026-11-19 17:41 UTC
Exploitation
Listed in CISA KEV
Added 2026-11-18 · due 2026-12-02
Known ransomware use: not reported

Required action (CISA)

Apply 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.

Affected products

litellm / litellm ≥1.81.8 <1.83.10
redhat / ansible_automation_platform ≥2.0 <2.6-9
redhat / openshift_ai ≥3.3 <3.3.4
redhat / openshift_lightspeed all versions

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-19 17:41 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs