Vulnerabilities

CVE-2026-40217

High 8.8 CVSS 3.1

Description

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

Description as published by the source, in English.

Key facts

Published
2026-04-10
Last modified
2026-11-19
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
cve@mitre.org
Probability of exploitation
6.5 % higher than 93 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Litellm Litellm ≥ 1.81.8, < 1.83.10 Affected
Redhat Ansible Automation Platform ≥ 2.0, < 2.6-9 Affected
Redhat Openshift Ai ≥ 3.3, < 3.3.4 Affected
Redhat Openshift Lightspeed all versions listed Affected

Weakness type

  • CWE-420: Unprotected Alternate Channel

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

  • CWE-94: Improper Control of Generation of Code

    The product 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 b…

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1027.006: HTML Smuggling stealth
  • T1027.009: Embedded Payloads stealth
  • T1564.009: Resource Forking stealth

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities