Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40217: CWE-420 Unprotected Alternate Channel in BerriAI LiteLLM

0
High
VulnerabilityCVE-2026-40217cvecve-2026-40217cwe-420
Published: Fri Apr 10 2026 (04/10/2026, 13:43:23 UTC)
Source: CVE Database V5
Vendor/Project: BerriAI
Product: LiteLLM

Description

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/18/2026, 14:21:20 UTC

Technical Analysis

This vulnerability in LiteLLM allows remote attackers to perform arbitrary code execution by rewriting bytecode through an unprotected endpoint (/guardrails/test_custom_code). The CVSS 3.1 base score is 8.8, reflecting high impact on confidentiality, integrity, and availability with low attack complexity and no user interaction required. The vulnerability arises from CWE-420, which involves an unprotected alternate communication channel that bypasses normal security controls. No patch or official remediation guidance has been published by BerriAI as of the publication date.

Potential Impact

Successful exploitation enables remote attackers to execute arbitrary code on affected LiteLLM instances, potentially leading to full system compromise including confidentiality, integrity, and availability impacts. Given the high CVSS score (8.8), this vulnerability poses a significant risk to affected systems if exploited.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the /guardrails/test_custom_code URI and monitor for any unauthorized access attempts. Avoid exposing LiteLLM instances to untrusted networks. Follow vendor updates closely for any forthcoming patches or mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-04-10T13:43:22.641Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d907431cc7ad14dac20a7e

Added to database: 4/10/2026, 2:20:51 PM

Last enriched: 4/18/2026, 2:21:20 PM

Last updated: 5/25/2026, 6:47:47 AM

Views: 156

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses