high8.8
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.
Impact
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | litellm | >= 1.81.8, < 1.83.10 | 1.83.10 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Litellm | Litellm | through 2026-04-08 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-wxxx-gvqv-xp7p
- https://github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p
- https://nvd.nist.gov/vuln/detail/CVE-2026-40217
- https://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable
- https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm
- https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/
- https://access.redhat.com/errata/RHSA-2026:24866
- https://access.redhat.com/errata/RHSA-2026:30056
- https://access.redhat.com/security/cve/CVE-2026-40217
- https://bugzilla.redhat.com/show_bug.cgi?id=2457301
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json