# CVE-2026-40217: BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

- Priority: **Act now**
- Reason: Listed as exploited by CISA (18-11-2026)
- Next step: Check the vendor advisory
- Status: published
- Published: 2026-04-10 · Modified: 2026-11-19
- Aliases: GHSA-wxxx-gvqv-xp7p, PYSEC-2026-2601, CGA-6vph-3236-r5f7, CGA-wwc8-m5xr-69xq, CGA-62pr-hpf4-cg5q, CGA-957w-fc57-7cwc, CGA-h5r4-6hr8-vh4x, CGA-jwf3-66f9-vgcx
- Record: https://cvemate.com/vulnerability/CVE-2026-40217 · JSON: https://cvemate.com/vulnerability/CVE-2026-40217/json

## Description

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

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 83.124%, percentile 99.678%, as of 2026-12-04
- Known exploited (KEV): CISA listed 2026-11-18, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- chainguard airflow-3 (Chainguard): \< 3.2.2-r7
- chainguard litellm (Chainguard): All versions (No fix recorded)
- chainguard litellm-compat (Chainguard): All versions (No fix recorded)
- wolfi airflow-3 (Wolfi): \< 3.2.2-r7
- berriai litellm: bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f
- litellm litellm: ≤ 2026-04-08 \| ≥ 1.81.8, \< 1.83.10
- PyPI litellm (PyPI): ≥ 1.81.8, \< 1.83.10
- redhat ansible\_automation\_platform: ≥ 2.0, \< 2.6-9
- redhat openshift\_ai: ≥ 3.3, \< 3.3.4
- redhat openshift\_lightspeed: na

## References

- <https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/>
- <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>
- <https://access.redhat.com/errata/RHSA-2026:24866>
- <https://access.redhat.com/errata/RHSA-2026:30056>
- <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>
- <https://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable>
- <https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm>
- <https://pypi.org/project/litellm>
- <https://github.com/advisories/GHSA-wxxx-gvqv-xp7p>
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217>

---

Data as of 2026-12-05T03:12:48.704Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
