Skip to content
On CISA KEVHigh

CVE-2026-40217LiteLLM Code Injection

LiteLLM has a sandbox escape in custom-code guardrail

Published Apr 10, 2026 · Updated Nov 20, 2026 · Also known as CGA-62pr-hpf4-cg5q, CGA-6vph-3236-r5f7, CGA-957w-fc57-7cwc, CGA-h5r4-6hr8-vh4x, CGA-jwf3-66f9-vgcx, CGA-wwc8-m5xr-69xq, CLEANSTART-2026-IM10707, CLEANSTART-2026-MS00856, CLEANSTART-2026-UL91233, ECHO-c6d4-cf5f-a050, GHSA-3926-2jvf-fg29, GHSA-wxxx-gvqv-xp7p, MINI-377r-r3c8-mhq7, MINI-3vcp-7r7v-gxq6, MINI-5mf2-rwc5-qrh5, MINI-6x4w-cc8c-6xw4, MINI-c8gj-mj24-qpfx, MINI-f7r9-xw6c-prv2, MINI-gcpx-2fm7-c67c, MINI-h97j-rjvr-jv7v, MINI-j48c-h23c-j59g, MINI-pgfq-mvrg-8hc5, MINI-prjc-4w9x-fr27, MINI-r977-hmxh-w444, MINI-v6qx-f2q3-8qqf, MINI-wwwm-p4q4-r55j, PYSEC-2026-2601, ghsa-g794-3fmp-753h, ghsa-wxxx-gvqv-xp7p

Key Facts

Patch immediately
  • CVE-2026-40217 is a high-severity vulnerability (CVSS 7.5 v4) affecting LiteLLM, Ansible Automation Platform (Redhat), Openshift Ai (Redhat) and 22 more products.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jul 30, 2026. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 83% probability of exploitation in the next 30 days.
  • Fixed versions are available, including airflow-3 3.1.8-r3, airflow-3 3.2.0-r0, airflow-3 3.2.2-r7.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v4

7.5

CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS (30-day exploit likelihood)

83%

Higher than 99.6% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

83/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Nov 18, 2026

222 days after publication

Federal due date

Dec 2, 2026

0 days left

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

3

Proof-of-concept links

In-the-wild evidence

15

Reports of active use

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.

Description

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

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVNov 18, 2026Dec 2, 2026Not reported
Industry KEV feedJul 30, 2026Dec 2, 2026Not reported
CIRCL KEVNov 16, 2026Dec 2, 2026Not reported
ENISA EUVDNov 18, 2026n/aNot reported

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.

Affected Products

76 affected entries in total
ProductAffected versionsFixed in
LiteLLMLitellm>= 1.81.8, >= bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f2026-04-08
Ansible Automation PlatformRedhatSee advisory2.6-9
Openshift AiRedhatSee advisory3.3.4
Openshift LightspeedRedhatSee advisoryn/a
2.6Ansible Automation PlatformSee advisory1780102732
20 more affected products in the full CVE brief

Patched Releases

airflow-3

3.1.8-r3, 3.2.0-r0, 3.2.2-r7, 3.3.1-r0

Ansible Automation Platform

26/lightspeed-chatbot-rhel9:1780102732, 1780102732, 2.6-9

LiteLLM

1.83.10

litellm-1.83

1.83.10-r0

litellm-1.83-bin

1.83.10-r0

litellm-1.83-dashboard

1.83.10-r0

litellm-1.83-oci-entrypoint

1.83.10-r0

Openshift Ai

1782310008, 3.3.4

Timeline

  1. Publicly disclosed

    Apr 10, 2026

  2. Added to Industry KEV feed

    Jul 30, 2026

  3. Added to CIRCL KEV

    Nov 16, 2026

  4. Added to CISA KEV

    Nov 18, 2026

  5. Added to ENISA EUVD

    Nov 18, 2026

  6. Last updated

    Nov 20, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code
  • CWE-420 Unprotected Alternate Channel
  • CWE-913 Improper Control of Dynamically-Managed Code Resources

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2026-40217 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.