BerriAI LiteLLM test_custom_code unprotected alternate channel
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB 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): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Unprotected alternate channelCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
04/10/2026 Advisory disclosed04/10/2026 CVE reserved
04/10/2026 VulDB entry created
05/07/2026 VulDB entry last update
Sources
Advisory: x41-dsec.deStatus: 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
Entry
Created: 04/10/2026 16:23Updated: 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.
No comments yet. Languages: en.
Please log in to comment.