Arb.Code Exec via Bytecode Rewiring at /guardrails/test_custom_code
CVE-2026-40217 Published on April 10, 2026

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

NVD

Vulnerability Analysis

CVE-2026-40217 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2026-40217. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Types

Unprotected Alternate Channel

The software protects a primary channel, but it does not use the same level of protection for an alternate channel.

What is a Code Injection Vulnerability?

The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

CVE-2026-40217 has been classified to as a Code Injection vulnerability or weakness.


Products Associated with CVE-2026-40217

Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.

 
 
 

Affected Versions

BerriAI LiteLLM: Red Hat Ansible Automation Platform 2.6: Red Hat OpenShift AI 3.3: Red Hat Lightspeed Core: Red Hat OpenShift AI (RHOAI):

Exploit Probability

EPSS
0.71%
Percentile
48.62%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.