Review reviewHigh

CVE-2026-40217

BerriAI LiteLLM, Red Hat Ansible Automation Platform 2.6, Red Hat OpenShift AI 3.3

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

CVSS
8.8
EPSS
6.50%
93.1% percentile
CISA KEV
Not listed
Published
2026.04.10
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability6.50%
Technical severityCVSS 8.8

Vulnerability overview

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

Affected product and versions

Product
BerriAI LiteLLM, Red Hat Ansible Automation Platform 2.6, Red Hat OpenShift AI 3.3
Affected versions
>= bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f, <= 2026-04-08
Fixed versions
No verified fixed-version field is available yet

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that BerriAI LiteLLM, Red Hat Ansible Automation Platform 2.6, Red Hat OpenShift AI 3.3 and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-420, CWE-94