BerriAI LiteLLM Unprotected Alternate Channel Vulnerability (CVE-2026-40217)
Published Last modified In CISA KEV since Sources: Red Hat, BSI, CVE.org, EUVD, OSV
What is affected, what to do
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
The vulnerability is being actively exploited; treat it as a priority. Update litellm to version 1.83.10, ansible_automation_platform to version 2.6-9, openshift_ai to version 3.3.4.
- Affected
- BerriAI LiteLLM
eq bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f..bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f
- BerriAI LiteLLM
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
8.8
XIEM Effective CVSS
Highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
8.8
CVSS v3
Severity High on the scale from 0 to 10.
Source: Red Hat, BSI, CVE.org, EUVD, OSV
61.9 %
EPSS score
High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
Source: FIRST EPSS, percentile 99.19
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 237.71 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- actively exploitedSource: VulnCheck KEV (opens in a new tab) How we classify
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 8.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 8.8
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 61.9 %
- High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 99.19
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- Actively exploited
- Published
In CISA KEV since
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- CISA assessment (SSVC)
- Exploitation: active · not automatable · Technical impact: total
- Source: CISA Vulnrichment, as of 19 November 2026
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-420
Response and mitigation
The playbook for this KEV entry is being generated. It typically becomes available within a few hours of CISA-catalog inclusion.
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
Source: redhat_csaf, BSI WID Portal, BSI CSAF, cvelistv5, NVD (NIST), CISA KEV Catalog, ENISA EUVD, OSV (Open Source Vulnerabilities), CVE.org (MITRE)
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| BerriAI | LiteLLM |
|
|
| litellm | litellm |
|
|
| redhat | ansible_automation_platform |
|
|
| redhat | openshift_ai |
|
|
| redhat | openshift_lightspeed |
|
|
| Open Source | LiteLLM |
|
|
| Red Hat | Ansible Automation Platform |
|
|
| pypi | litellm |
|
|
Fixed in hardened container images
Vendors of hardened images ship their own builds with a fix, often ahead of the distribution. This only concerns you if you use these images.
Show all 39 entries
| Fixed in | |||
|---|---|---|---|
| Chainguard | Chainguard | airflow-3 |
|
| Chainguard | Chainguard | airflow-3 |
|
| Chainguard | Chainguard | litellm |
|
| Chainguard | Chainguard | litellm |
|
| Chainguard | Chainguard | litellm-compat |
|
| Chainguard | Chainguard | litellm-compat |
|
| Chainguard | Wolfi | airflow-3 |
|
| Chainguard | Wolfi | airflow-3 |
|
| CleanStart | CleanStart | airflow-3 |
|
| Minimus | MinimOS | airflow-3 |
|
| Minimus | MinimOS | litellm-1.80 |
|
| Minimus | MinimOS | litellm-1.80-bin |
|
| Minimus | MinimOS | litellm-1.80-dashboard |
|
| Minimus | MinimOS | litellm-1.80-oci-entrypoint |
|
| Minimus | MinimOS | litellm-1.83 |
|
| Minimus | MinimOS | litellm-1.83-bin |
|
| Minimus | MinimOS | litellm-1.83-dashboard |
|
| Minimus | MinimOS | litellm-1.83-oci-entrypoint |
|
| Minimus | MinimOS | litellm-1.84 |
|
| Minimus | MinimOS | litellm-1.84-bin |
|
| Minimus | MinimOS | litellm-1.84-dashboard |
|
| Minimus | MinimOS | litellm-1.84-oci-entrypoint |
|
| Minimus | MinimOS | litellm-1.85 |
|
| Minimus | MinimOS | litellm-1.85-bin |
|
| Minimus | MinimOS | litellm-1.85-oci-entrypoint |
|
| Minimus | MinimOS | litellm-1.86 |
|
| Minimus | MinimOS | litellm-1.86-bin |
|
| Minimus | MinimOS | litellm-1.86-dashboard |
|
| Minimus | MinimOS | litellm-1.87 |
|
| Minimus | MinimOS | litellm-1.87-dashboard |
|
| Minimus | MinimOS | litellm-1.87-oci-entrypoint |
|
| Minimus | MinimOS | litellm-1.88 |
|
| Minimus | MinimOS | litellm-1.88-bin |
|
| Minimus | MinimOS | litellm-1.88-dashboard |
|
| Minimus | MinimOS | litellm-1.89 |
|
| Minimus | MinimOS | litellm-1.89-dashboard |
|
| Minimus | MinimOS | litellm-1.89-oci-entrypoint |
|
| Minimus | MinimOS | litellm-1.90 |
|
| Minimus | MinimOS | litellm-1.91 |
|
Source: OSV.dev, licensed CC BY 4.0.
Vendors and products
Weakness classes (CWE)
CWE-420Unprotected Alternate Channel
Base
The product protects a primary channel, but it does not use the same level of protection for an alternate channel.
Entry at MITRE CWE-420
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| CISA KEV Catalog | CISA Known Exploited Vulnerability (opens in a new tab)cisa.gov | actively exploited | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-40217-PoC (opens in a new tab)github.com | PoC (publicly reported)reported, not verified |
References & sources
- github.comBerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7pweb
- NVD (NIST)vuln/detail/CVE-2026-40217advisory
- github.comBerriAI/litellmpackage
- github.comBerriAI/litellm/releases/tag/v1.83.10-stableweb
- x41-dsec.delab/advisories/x41-2026-001-litellmweb
- pypi.orgproject/litellmpackage
- GitHub Security Advisoriesadvisories/GHSA-wxxx-gvqv-xp7padvisory
- x41-dsec.delab/advisories/x41-2026-001-litellmExploit, Mitigation, Third-party advisory, euvd
- access.redhat.comsecurity/cve/CVE-2026-40217Vulnerability database, x_refsource_REDHAT, Third-party advisory
- bugzilla.redhat.comRHBZ#2457301Issue tracking, x_refsource_REDHAT, Third-party advisory
- security.access.redhat.comdata/csaf/v2/vex/2026/cve-2026-40217.jsonx_sadp-csaf-vex, Third-party advisory
- access.redhat.comerrata/RHSA-2026:24866Vendor advisory, x_refsource_REDHAT, Third-party advisory
- access.redhat.comerrata/RHSA-2026:30056Vendor advisory, x_refsource_REDHAT, Third-party advisory
- cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217government-resource, US government resource
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Record modifiedCISA ADP
CISA assessment (SSVC): exploitation: active, automatable: no
Show 2 original changes
Individual changes of this event as published by NVD Type Action Before After SSVC assessment removed {"id":"CVE-2026-40217","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-06-15T00:00:00+00:00"}—SSVC assessment added —{"id":"CVE-2026-40217","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-11-19T04:55:16.960787Z"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD analysis modifiedNVD
Newly listed as affected:- Red Hat OpenShift AI (RHOAI) (3.3 – before 3.3.4)
- Red Hat Redhat Openshift Lightspeed
- Red Hat Ansible Automation Platform 2 (2.0 – before 2.6-9)
Product mapping changed:- LiteLLM (1.81.8 – before 1.83.10)
Show 8 original changes
Individual changes of this event as published by NVD Type Action Before After Product configuration added —OR *cpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:* versions from (including) 3.3 up to (excluding) 3.3.4 *cpe:2.3:a:redhat:openshift_lightspeed:-:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:* versions from (including) 2.0 up to (excluding) 2.6-9Product configuration changed OR *cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* versions up to (including) 2026-04-08OR *cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* versions from (including) 1.81.8 up to (excluding) 1.83.10Reference type added —CISA-ADP: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217 Types: US Government ResourceReference type added —redhat-SADP: https://access.redhat.com/errata/RHSA-2026:24866 Types: Third Party AdvisoryReference type added —redhat-SADP: https://access.redhat.com/errata/RHSA-2026:30056 Types: Third Party AdvisoryReference type added —redhat-SADP: https://access.redhat.com/security/cve/CVE-2026-40217 Types: Third Party AdvisoryReference type added —redhat-SADP: https://bugzilla.redhat.com/show_bug.cgi?id=2457301 Types: Third Party AdvisoryReference type added —redhat-SADP: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json Types: Third Party AdvisorySource identifier: nvd@nist.gov
Record modifiedCISA ADP
CISA assessment (SSVC): exploitation: active, automatable: no
Show 2 original changes
Individual changes of this event as published by NVD Type Action Before After SSVC assessment removed {"id":"CVE-2026-40217","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-11-18T20:42:12.717870Z"}—SSVC assessment added —{"id":"CVE-2026-40217","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-06-15T00:00:00+00:00"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
CISA KEV entry updated9119a7d8…
4 individual changes: Date Added, Due Date, Required Action, Vulnerability Name
Show 4 original changes
Individual changes of this event as published by NVD Type Action Before After Date Added added —2026-11-18Due Date added —2026-11-18Required Action added —2026-11-18Vulnerability Name added —2026-11-18Source identifier: 9119a7d8-5eab-497f-8521-727c672e3725
Record modifiedMITRE
New references:Show 3 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/Reference removed https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/—Reference type removed https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/ Types: Exploit, Mitigation, Third Party Advisory—Source identifier: cve@mitre.org
Show 2 older changes
Record modifiedCISA ADP
CISA assessment (SSVC): exploitation: active, automatable: no
Show 3 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217SSVC assessment removed {"id":"CVE-2026-40217","role":"CISA Coordinator","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-06-15T00:00:00+00:00"}—SSVC assessment added —{"id":"CVE-2026-40217","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-11-18T20:42:12.717870Z"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Record modifiedRed Hat ADP
Show 10 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://access.redhat.com/errata/RHSA-2026:24866Reference added —https://access.redhat.com/errata/RHSA-2026:30056Reference added —https://access.redhat.com/security/cve/CVE-2026-40217Reference added —https://bugzilla.redhat.com/show_bug.cgi?id=2457301Reference added —https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.jsonReference removed https://access.redhat.com/errata/RHSA-2026:24866—Reference removed https://access.redhat.com/errata/RHSA-2026:30056—Reference removed https://access.redhat.com/security/cve/CVE-2026-40217—Reference removed https://bugzilla.redhat.com/show_bug.cgi?id=2457301—Reference removed https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json—Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
One NVD translation into another language is hidden.
Linked advisories
- GTIG AI Threat Tracker: Agentic Threat Activity Crosses a Significant ThresholdGoogle Threat Intelligence
- The Rise of LLMJacking: How Threat Actors Monetize Compromised Cloud and Model ResourcesGoogle Threat Intelligence
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2026-40217"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-40217.svg?lang=en" alt="CVE-2026-40217 – NEOSEC Intel" height="20"></a>