CVE-2026-40217

| EUVD-2026-21376 HIGH
2026-04-10 mitre
8.8
CVSS 3.1
Share

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Generated
Apr 10, 2026 - 14:15 vuln.today
EUVD ID Assigned
Apr 10, 2026 - 14:15 euvd
EUVD-2026-21376
CVE Published
Apr 10, 2026 - 13:43 nvd
HIGH 8.8

Description

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

Analysis

Remote code execution in BerriAI LiteLLM (all versions through 2026-04-08) enables authenticated attackers to execute arbitrary code by exploiting bytecode rewriting functionality at the /guardrails/test_custom_code endpoint. The vulnerability requires low-privilege authentication (PR:L) but permits complete system compromise with high impact to confidentiality, integrity, and availability. …

Sign in for full analysis, threat intelligence, and remediation guidance.

Remediation

Within 24 hours: Inventory all BerriAI LiteLLM deployments and identify instances running versions through 2026-04-08; restrict network access to the /guardrails/test_custom_code endpoint to authorized administrators only via firewall or API gateway rules. Within 7 days: Disable the guardrails testing functionality entirely if not operationally required, or implement application-level access controls limiting endpoint usage to administrative accounts; monitor logs for suspicious activity on this endpoint. …

Sign in for detailed remediation steps.

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: +0.2
CVSS: +44
POC: 0

Share

CVE-2026-40217 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy