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.
Aktiv ausgenutzt
Diese Schwachstelle steht auf der CISA-Liste Known Exploited Vulnerabilities, aufgenommen am 2026-11-18. Frist für US-Bundesbehörden: 2026-12-02.
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Auswirkung
BerriAI LiteLLM contains an unprotected alternate channel vulnerability that could allow remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | litellm | >= 1.81.8, < 1.83.10 | 1.83.10 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| BerriAI | LiteLLM | Version bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f |
| Litellm | Litellm | bis einschließlich 2026-04-08 ab 1.81.8 vor 1.83.10 |
| Red Hat | Ansible Automation Platform | ab 2.0 vor 2.6-9 |
| Red Hat | Openshift Ai | ab 3.3 vor 3.3.4 |
| Red Hat | Openshift Lightspeed | Alle Versionen |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- CISA-KEV-Katalog
- https://github.com/advisories/GHSA-3926-2jvf-fg29
- https://nvd.nist.gov/vuln/detail/CVE-2026-40217
- https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm
- https://github.com/advisories/GHSA-wxxx-gvqv-xp7p
- https://github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p
- https://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable
- 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
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217