{"type":"bundle","id":"bundle--e505a384-aaac-582e-b60e-49ee05fc6e3a","objects":[{"type":"campaign","spec_version":"2.1","id":"campaign--500daa7b-e5db-5a31-9413-30f27d745c48","created":"2026-11-18T19:49:51.042Z","modified":"2026-11-18T19:49:51.042Z","name":"Attackers are using a LiteLLM guardrail sandbox escape to take over the proxy that holds your AI keys (CVE-2026-40217, CISA KEV)","description":"LiteLLM's POST /guardrails/test_custom_code endpoint lets a proxy admin test a custom Python guardrail. In 1.81.8 to 1.83.9 the code ran in a hand-built sandbox that only scanned source text for banned names. X41 D-Sec showed that building those names from string pieces and rewriting a generator's bytecode reaches the real __import__ through a sandbox helper, giving arbitrary command execution in the proxy process. That exposes stored provider API keys, the master key and traffic. A full public exploit has been available since 2026-04-08; BerriAI replaced the sandbox with RestrictedPython in PR #25818 (merged 2026-04-15). GitHub's advisory text says fixed in 1.83.11 while its range and OSV say 1.83.10; HOL compared the PyPI wheels and found the same RestrictedPython sandbox in 1.83.9, 1.83.10 and 1.83.11, so 1.83.11 is the conservative floor. CISA added the CVE to KEV on 2026-11-18 with a 2026-12-02 due date.","aliases":["CVE-2026-40217","GHSA-wxxx-gvqv-xp7p","PYSEC-2026-2601","X41-2026-001"],"first_seen":"2026-02-13T00:00:00Z","last_seen":"2026-11-18T00:00:00Z","objective":"Defensive public threat-intelligence record; see limitations and source references.","external_references":[{"source_name":"GitHub advisory GHSA-wxxx-gvqv-xp7p: LiteLLM has a sandbox escape in custom-code guardrail","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p"},{"source_name":"X41 D-Sec advisory X41-2026-001: Guardrail Sandbox Escape in LiteLLM","url":"https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/"},{"source_name":"BerriAI/litellm PR #25818: replace custom_code sandbox with RestrictedPython","url":"https://github.com/BerriAI/litellm/pull/25818"},{"source_name":"LiteLLM v1.83.10-stable release","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable"},{"source_name":"NVD: CVE-2026-40217","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40217"},{"source_name":"OSV: GHSA-wxxx-gvqv-xp7p","url":"https://osv.dev/vulnerability/GHSA-wxxx-gvqv-xp7p"},{"source_name":"CISA Known Exploited Vulnerabilities catalog","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"},{"source_name":"HOL blog: LiteLLM CVE-2026-40217 on CISA KEV, how to fix","url":"https://hol.org/blog/cve-2026-40217-litellm-guardrail-sandbox-escape-cisa-kev"}]}]}