BerriAI LiteLLM has an unprotected alternate channel vulnerability that could allow remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
BerriAI
BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
What this means
This is rated high severity (8.8 out of 10). It is on the known-exploited catalogue, which means attacks using it have already been seen. Ask IT whether Litellm Litellm, Redhat Ansible Automation Platform and Redhat Openshift Ai, and 1 more are in your estate, and treat that as the priority.
Full vendor description
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
Scoring and exploitation
Exploitable over the network with a low-privilege account, and no one has to click or open anything. High impact on confidentiality, integrity and availability.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitability
Longer bar: easier to attack
Impact
Longer bar: more harm
- Elevated attack likelihood (~78% in 30 days)Model estimate (): a probability signal, not confirmed exploitation
- Exploited in the wild
- Yes — confirmed exploitation (US CISA )
- Not reported
- Listed product
- BerriAI LiteLLM
Weaknesses
Affected products ()
- Litellm Litellm
- Redhat Ansible Automation Platform
- Redhat Openshift Ai
- Redhat Openshift Lightspeed
Show the raw CPE strings (4)
- cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_lightspeed:-:*:*:*:*:*:*:*
References
7 links from the CVE record, grouped by site.
x41-dsec.de1 link
- x41-2026-001-litellm (opens in a new tab)Exploit · Mitigation · Third Party Advisory
access.redhat.com3 links
- RHSA-2026:24866 (opens in a new tab)Third Party Advisory
- RHSA-2026:30056 (opens in a new tab)Third Party Advisory
- CVE-2026-40217 (opens in a new tab)Third Party Advisory
bugzilla.redhat.com1 link
- show_bug.cgi (opens in a new tab)Third Party Advisory
security.access.redhat.com1 link
- cve-2026-40217.json (opens in a new tab)Third Party Advisory
cisa.gov1 link
- known-exploited-vulnerabilities-catalog (opens in a new tab)US Government Resource
Related feed events
- Type Vulnerability
- Type Vulnerability
Apache Axis contains an unsafe reflection vulnerability that could allow an unauthenticated remote attacker to execute arbitrary code via a crafted SOAP fault message that causes Axis to load and… Known-exploited…
Next step: Confirm whether Apache Axis is in your estate.

