BerriAI LiteLLM test_custom_code unprotected alternate channel

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.6$0-$5k0.00

Summaryinfo

A vulnerability has been found in BerriAI LiteLLM bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f and classified as critical. This vulnerability affects unknown code of the file /guardrails/test_custom_code. This manipulation causes unprotected alternate channel. This vulnerability is handled as CVE-2026-40217. The attack can be initiated remotely. There is not any exploit available.

Detailsinfo

A vulnerability was found in BerriAI LiteLLM bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f. It has been declared as critical. Affected by this vulnerability is an unknown part of the file /guardrails/test_custom_code. The manipulation with an unknown input leads to a unprotected alternate channel vulnerability. The CWE definition for the vulnerability is CWE-420. The product protects a primary channel, but it does not use the same level of protection for an alternate channel. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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

The advisory is shared at x41-dsec.de. This vulnerability is known as CVE-2026-40217 since 04/10/2026. The exploitation appears to be easy. The attack can be launched remotely. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 05/07/2026).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2026-1408). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Affected

  • Open Source LiteLLM

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.6

VulDB Base Score: 6.3
VulDB Temp Score: 6.3
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 8.8
CNA Vector (MITRE): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Unprotected alternate channel
CWE: CWE-420 / CWE-419
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔒

Timelineinfo

04/10/2026 Advisory disclosed
04/10/2026 +0 days CVE reserved
04/10/2026 +0 days VulDB entry created
05/07/2026 +27 days VulDB entry last update

Sourcesinfo

Advisory: x41-dsec.de
Status: Not defined

CVE: CVE-2026-40217 (🔒)
GCVE (CVE): GCVE-0-2026-40217
GCVE (VulDB): GCVE-100-356821
CERT Bund: WID-SEC-2026-1408 - LiteLLM: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit Administratorrechten

Entryinfo

Created: 04/10/2026 16:23
Updated: 05/07/2026 13:43
Changes: 04/10/2026 16:23 (61), 05/07/2026 13:43 (7)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!