8.8High

CVE-2026-40217

BerriAI LiteLLM; Red Hat Red Hat Ansible Automation Platform 2.6; Red Hat Red Hat OpenShift AI 3.3; Red Hat Lightspeed Core Published: (7 months ago)

Description

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

Weakness (CWE): CWE-420CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ansible automation platform 2.6 —
BerriAI LiteLLM bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f
litellm litellm ≤ 2026-04-08
openshift ai 3.3 —
Red Hat Lightspeed Core all versions
Red Hat Red Hat Ansible Automation Platform 2.6 all versions
Red Hat Red Hat OpenShift AI 3.3 all versions
Red Hat Red Hat OpenShift AI (RHOAI) —

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* ≤ 2026-04-08