CVE-2026-40217 LiteLLM guardrail sandbox escape: defensive hunt kit (Cybersecsloth, 2026-11-22).
LAB-ONLY / DEFENSIVE USE. No exploit code, no bypass code, no network connections.
GHSA-wxxx-gvqv-xp7p: affected >=1.81.8,<1.83.10; advisory text says fixed in 1.83.11. Take 1.83.11+.
Endpoint POST /guardrails/test_custom_code needs a proxy-admin credential in default configs.
Scores: MITRE CVSS 3.1 8.8 (NVD Secondary); GitHub advisory CVSS 4.0 5.9; X41 CVSS 4.0 8.7.
CISA KEV: added 2026-11-18, due 2026-12-02.
litellm-40217-check.py version|access|env <file>
litellm-40217-block.sh   prints nginx / Traefik / compose hardening, applies nothing
lab/ synthetic files for the screenshots (RFC 5737 documentation IPs).
