StraitOfVuln
Latest / CVE-2026-40217

CVE-2026-40217

HighCVSS 8.8 (v3.1)Actively exploited · CISA KEVAnalyzed
CVE.org ↗NVD ↗

Description

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

Details

CVE ID
CVE-2026-40217
Published / updated
10 Apr 2026, 14:16 UTC · last modified 19 Nov 2026, 17:18 UTC
Severity
HIGH
CVSS score
8.8 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network
Affected vendor
Affected products
Litellm, Ansible Automation Platform, Openshift Ai, Openshift Lightspeed
Affected versions
Litellm: ≥ 1.81.8, < 1.83.10
Ansible Automation Platform: ≥ 2.0, < 2.6-9
Openshift Ai: ≥ 3.3, < 3.3.4
Openshift Lightspeed: n/a
Fixed versions
litellm 1.83.10, ansible automation platform 2.6-9, openshift ai 3.3.4
Exploitation status
In CISA KEV since 18 Nov 2026 (federal due date 02 Dec 2026). Ransomware use: Unknown.
EPSS
83.12% probability of exploitation in the next 30 days · 100% percentile (02 Dec 2026)
Weakness
Remediation
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.
Source (CNA)
cve@mitre.org
AI plain-English explainer

A short explanation of who is affected, the impact and what to do, written only from this record's data.

AI isn't configured on this server (set AI_PROVIDER and an API key).

In the news

Headlines that mention CVE-2026-40217. Each opens on the publisher's site.

Track this software

Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.

+ Litellm Litellm+ Redhat Ansible Automation Platform+ Redhat Openshift Ai+ Redhat Openshift Lightspeed

CISA KEV entry

BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

BerriAI LiteLLM contains an unprotected alternate channel vulnerability that could allow remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.

Required action: 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.

Notes: https://github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-40217