← All Advisories
Reported from OT-Advisories.com as of

LiteLLM's /guardrails/test_custom_code Endpoint Lets Remote Attackers Rewrite Bytecode to Execute Code; CISA KEV Deadline Is December 2nd

Last refreshed2026-11-21

Status: KEV  |  Advisory ID: CVE-2026-40217

Key Details

CVECVE-2026-40217
CVSS Score / Version
8.8 (High) / CVSS v3.1
Updated2026-11-19
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Red Hat Ansible Automation Platform, Red Hat Ansible Automation Platform 2.6, Red Hat OpenShift AI 3.3, and Red Hat Lightspeed Core
Exploitation status
Listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating confirmed active exploitation.
Classified as
CWE-420 (Unprotected Alternate Channel)
KEV listing
Added to CISA's Known Exploited Vulnerabilities (KEV) catalog on 2026-11-18.
Exploitation prediction (EPSS)
68.90% probability of exploitation in the next 30 days (99% percentile) -- FIRST.org's EPSS model.
Federal remediation deadline
2026-12-02 (CISA KEV, Binding Operational Directive).

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Red HatAnsible Automation Platform
Red HatRed Hat Ansible Automation Platform 2.6
Red HatRed Hat OpenShift AI 3.3
Red HatLightspeed Core
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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

What to Do

Monitor Red Hat's web page for any future patch releases.

https://access.redhat.com/security/security-updates/

KEV Required Action

FieldValue
KEV Linkhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?search=%09CVE-2026-40217&field_date_added_wrapper=all&field_cve=&sort_by=field_date_added&items_per_page=20
Date Added to KEV2026-11-18
Required Action 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.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-40217
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-40217
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.