Skip to content

CVE-2026-40217 LiteLLM has a sandbox escape in custom-code guardrail

HighCVSS 8.8 EPSS 17.0% CISA KEV added 2026-11-18 · due 2026-12-02 Exploited in the wild Scanner template PoC
Published
Updated
Exploit status
Exploited in the wild (confirmed)
CISA SSVC
Actively exploited · automatable: no · technical impact: total
Technology
Red Hat

Description

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

CISA Known Exploited Vulnerability

Date added
2026-11-18
Due date (FCEB)
2026-12-02
Ransomware use
Unknown

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.

Upgrade path

11 packages: 3 fixed, 1 partially fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
redhat lightspeed core All versions No fix listed No fix yet
redhat openshift lightspeed All versions No fix listed No fix yet
redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9:1780102732(Red Hat ansible_automation_platform 2.6 el9) All versions No fix listed No fix yet
redhat/redhat-user-workloads/lightspeed-chatbot-rhel9(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/redhat-user-workloads/lightspeed-stack(Red Hat lightspeed_core) All versions No fix listed No fix yet
redhat/rhoai/odh-llama-stack-core-rhel9:1782310008(Red Hat openshift_ai 3.3 el9) All versions No fix listed No fix yet
redhat openshift ai < 1782310008; >= 3.3, < 3.3.4; All versions 3.3.4, 1782310008 Partially fixed
litellm >= 1.81.8, < 1.83.10 1.83.10 Fixed
pypi litellm(PyPI) = 1.81.8; = 1.81.9; = 1.81.9.dev1; = 1.81.10 +24 more 1.83.10 Fixed
redhat ansible automation platform < 1780102732; >= 2.0, < 2.6-9 2.6-9, 1780102732 Fixed
BerriAI litellm = bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi litellm(PyPI) >= 1.81.8, < 1.83.10 1.83.10
pypi litellm(PyPI) = 1.81.10 No fix listed
pypi litellm(PyPI) = 1.81.11 No fix listed
pypi litellm(PyPI) = 1.81.12 No fix listed
pypi litellm(PyPI) = 1.81.13 No fix listed
pypi litellm(PyPI) = 1.81.14 No fix listed
pypi litellm(PyPI) = 1.81.15 No fix listed
pypi litellm(PyPI) = 1.81.16 No fix listed
pypi litellm(PyPI) = 1.81.8 No fix listed
pypi litellm(PyPI) = 1.81.9 No fix listed
pypi litellm(PyPI) = 1.81.9.dev1 No fix listed
pypi litellm(PyPI) = 1.82.0 No fix listed
pypi litellm(PyPI) = 1.82.1 No fix listed
pypi litellm(PyPI) = 1.82.2 No fix listed
pypi litellm(PyPI) = 1.82.3 No fix listed
pypi litellm(PyPI) = 1.82.4 No fix listed
pypi litellm(PyPI) = 1.82.5 No fix listed
pypi litellm(PyPI) = 1.82.6 No fix listed
pypi litellm(PyPI) = 1.83.0 No fix listed
pypi litellm(PyPI) = 1.83.1 No fix listed
pypi litellm(PyPI) = 1.83.2 No fix listed
pypi litellm(PyPI) = 1.83.3 No fix listed
pypi litellm(PyPI) = 1.83.4 No fix listed
pypi litellm(PyPI) = 1.83.5 No fix listed
pypi litellm(PyPI) = 1.83.6 No fix listed
Show 16 more
ProductAffected versionsFixed in
pypi litellm(PyPI) = 1.83.7 No fix listed
pypi litellm(PyPI) = 1.83.8 No fix listed
pypi litellm(PyPI) = 1.83.9 No fix listed
redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9:1780102732(Red Hat:ansible_automation_platform:2.6::el9) All versions No fix listed
redhat/rhoai/odh-llama-stack-core-rhel9:1782310008(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/redhat-user-workloads/lightspeed-stack(Red Hat:lightspeed_core) All versions No fix listed
redhat/redhat-user-workloads/lightspeed-chatbot-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
BerriAI litellm = bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f No fix listed
redhat ansible automation platform < 1780102732 1780102732
redhat openshift ai < 1782310008 1782310008
redhat lightspeed core All versions No fix listed
redhat openshift ai All versions No fix listed
litellm >= 1.81.8, < 1.83.10 1.83.10
redhat ansible automation platform >= 2.0, < 2.6-9 2.6-9
redhat openshift ai >= 3.3, < 3.3.4 3.3.4
redhat openshift lightspeed All versions No fix listed

References