ADVISORIES

Vulnerability

CVE-2026-40217

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

8 advisories report this vulnerability, across 3 ecosystems.

High severity Known exploited All Chainguard 6PyPI 2Wolfi 2

Advisories

  • CGA-62pr-hpf4-cg5q
    Known exploited CVE-2026-40217 Chainguard Updated 5 November 2026
  • CGA-6vph-3236-r5f7
    Known exploited CVE-2026-40217 ChainguardWolfi Updated 5 November 2026
  • CGA-957w-fc57-7cwc
    Known exploited CVE-2026-40217 Chainguard Updated 5 November 2026
  • CGA-h5r4-6hr8-vh4x
    Known exploited CVE-2026-40217 Chainguard Updated 5 November 2026
  • CGA-jwf3-66f9-vgcx
    Known exploited CVE-2026-40217 Chainguard Updated 5 November 2026
  • CGA-wwc8-m5xr-69xq
    Known exploited CVE-2026-40217 ChainguardWolfi Updated 5 November 2026
  • GHSA-wxxx-gvqv-xp7p

    LiteLLM has a sandbox escape in custom-code guardrail

    High Known exploited CVE-2026-40217 PyPI Updated 10 September 2026
  • PYSEC-2026-2601

    LiteLLM has a sandbox escape in custom-code guardrail

    Known exploited CVE-2026-40217 PyPI Updated 13 July 2026

References