Summary
CVE-2026-40217 is an unprotected alternate channel vulnerability in BerriAI LiteLLM, rated high severity with a CVSS base score of 8.8.
CISA added it to the Known Exploited Vulnerabilities catalogue on 18 November 2026, which means there is reliable evidence that attackers have exploited it.
It can be exploited remotely over a network with a low-privileged account.
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.
Key facts
- Affected product
- BerriAI · LiteLLM
- CVSS severity
- High8.8CVSS v3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS (exploitation likelihood, next 30 days)
- 83.12%Higher than 99.6% of all scored CVEs
- Weakness (CWE)
- CWE-420
- Added to CISA KEV
- CISA due date (US federal agencies)
- First published (NVD)
- NVD status
- Analyzed
CISA 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.
What UK organisations should do
01 Patch or mitigate
- Follow the vendor's advisory. Where no fix is available, apply the published mitigations or take the affected component offline.
- CISA's 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. CISA set a remediation due date of 2 December 2026 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
- If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.
02 Check your exposure
- Confirm whether you run BerriAI LiteLLM anywhere, including systems managed by suppliers or cloud providers.
- Build an inventory of affected versions across on-premises, cloud and supplier-managed systems.
- Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.
03 Monitor and respond
- Review logs for the affected product for unusual behaviour and keep the indicators of compromise in vendor advisories under review.
- If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.
Other exploited BerriAI LiteLLM vulnerabilities
- CVE-2026-59822
LiteLLM
Improper Authentication
High8.2 - CVE-2026-42271
LiteLLM
Command Injection
High8.8 - CVE-2026-42208
LiteLLM
SQL Injection
Critical9.8
Same weakness (CWE-420) in other products
- CVE-2025-54309
CrushFTP · CrushFTP
Unprotected Alternate Channel
Critical9.8 - CVE-2023-20198
Cisco · IOS XE Web UI
Privilege Escalation
Critical10.0
Sources and references
- CISA Known Exploited Vulnerabilities catalogue
- NVD record for CVE-2026-40217
- FIRST EPSS score
- github.com
- cisa.gov
- cisa.gov
- x41-dsec.deExploit · Mitigation · Third Party Advisory
- access.redhat.comThird Party Advisory
- access.redhat.comThird Party Advisory
- access.redhat.comThird Party Advisory
- bugzilla.redhat.comThird Party Advisory
- security.access.redhat.comThird Party Advisory
- cisa.govUS Government Resource
Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.