Security mailing lists by PureSourceCode

CVE-2026-40217

HIGH 8.8CVSS 3.1known exploited

LiteLLM has a sandbox escape in custom-code guardrail

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

Published
10 Apr 2026
Last modified
19 Nov 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-420CWE-913CWE-94
Also known as
GHSA-wxxx-gvqv-xp7pPYSEC-2026-2601
Sources
NVDJSONCVE ListJSONCISA KEVJSONOSV GHSA-wxxx-gvqv-xp7pJSONOSV PYSEC-2026-2601JSON
In CISA's Known Exploited Vulnerabilities catalog since 18 Nov 2026; US federal agencies must fix it by 2 Dec 2026.
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
OSV PyPA CVSS 4.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD cve@mitre.org (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List mitre CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List redhat-SADP CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List CISA-ADP SSVC Exploitation: active; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD litellm litellm
cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*
>= 1.81.8, < 1.83.10 1.83.10
NVD redhat ansible_automation_platform
cpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:*
>= 2.0, < 2.6-9 2.6-9
NVD redhat openshift_ai
cpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:*
>= 3.3, < 3.3.4 3.3.4
NVD redhat openshift_lightspeed
cpe:2.3:a:redhat:openshift_lightspeed:-:*:*:*:*:*:*:*
(no version)
CVE List BerriAI LiteLLM = bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f
CVE List https://catalog.redhat.com/software/containers/ ansible-automation-platform-26/lightspeed-chatbot-rhel9
cpe:/a:redhat:ansible_automation_platform:2.6::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ rhoai/odh-llama-stack-core-rhel9
cpe:/a:redhat:openshift_ai:3.3::el9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ redhat-user-workloads/lightspeed-stack
cpe:/a:redhat:lightspeed_core
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mlflow-rhel9
cpe:/a:redhat:openshift_ai
OSV PyPI litellm >= 1.81.8, < 1.83.10 1.83.10

References

History

  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 May 2026)
  • 25 Nov 2026 20:11 UTC · CVE List: first stored (published 10 Apr 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 10 Apr 2026)
  • 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 18 Nov 2026)
  • 18 Nov 2026 00:00 UTC · Listed as known exploited
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.