Niedrig

LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks

  • Veröffentlicht: 22.07.2026
  • Aktualisiert: 11.10.2026 15:17

Impact

LiteLLM's Custom Code Guardrails production create/update paths did not apply the same sandboxing and validation used by the test endpoint.

A privileged user with access to create or update guardrails could submit custom Python code that executed in the LiteLLM proxy environment. In deployments without a configured master key, callers could be treated as proxy administrators, making this reachable without intended administrative authorization.

This could allow arbitrary code execution in the LiteLLM proxy container and exposure of secrets available to the process.

Patches

The issue is fixed in 1.82.0-stable.

LiteLLM recommend upgrading to 1.82.0-stable or later.

Workarounds

If upgrading is not immediately possible:

  1. Restrict access to POST /guardrails and PUT /guardrails/{guardrail_id} to trusted administrators only.
  2. Ensure LITELLM_MASTER_KEY is configured.
  3. Avoid enabling Custom Code Guardrails for untrusted users.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) litellm < 1.82.0 1.82.0

Verweise

CVSS-Wert -
CVSS-Vektor
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Schwäche (CWE)
CWE-94
Plattform
Python (PyPI)
Paket
litellm
Veröffentlicht
22.07.2026
Aktualisiert
11.10.2026 15:17

Quellen und Lizenzen

OSV / GitHub Advisory Database - PYSEC-2026-3478 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-72m8-9m7m-h278 - CC BY 4.0

Schwachstellenhistorie: litellm

Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (42) im Archiv
Einträge insgesamt
42
Erste → letzte
04.2024 09.2026
Ohne Fix
14
In Angriffen ausgenutzt
3

Verteilung nach Schweregrad

  • Kritisch 7
  • Hoch 17
  • Mittel 8
  • Niedrig 9
  • Nicht bewertet 1

Veröffentlichungen pro Jahr

  1. 2024: 8
  2. 2025: 6
  3. 2026: 28
Schweregrad:
  1. LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks dieser Eintrag
    Niedrig CVE-2026-59821 < 1.82.0 1.82.0
  2. Hoch In Angriffen ausgenutzt CVE-2026-59822 < 1.84.0 1.84.0
  3. Kritisch · 9.8 CVE-2026-49468 < 1.84.0 1.84.0
  4. Hoch · 8.8 CVE-2026-40217 >= 1.81.8, < 1.83.10 1.83.10
  5. Hoch · 8.8 In Angriffen ausgenutzt CVE-2026-42271 >= 1.74.2, < 1.83.7 1.83.7
  6. Kritisch · 9.8 In Angriffen ausgenutzt CVE-2026-42208 >= 1.81.16, < 1.83.7 1.83.7
  7. Hoch CVE-2026-42203 >= 1.80.5, < 1.83.7 1.83.7
  8. Kritisch ghsa-5mg7-485q-xm76 >= 1.82.7, <= 1.82.8 keine Korrektur
  9. Hoch · 8.1 CVE-2025-0628 < 1.61.15 1.61.15
  10. Hoch · 7.5 CVE-2025-0330 <= 1.52.1 keine Korrektur
  11. Hoch · 7.5 CVE-2024-9606 < 1.44.12 1.44.12
  12. Hoch · 8.8 CVE-2024-6825 >= 1.40.3.dev2, <= 1.40.12 keine Korrektur
  13. Hoch · 7.5 CVE-2024-10188 < 1.53.1.dev1 1.53.1.dev1
  14. Hoch · 7.5 CVE-2024-6587 < 1.44.8 1.44.8
  15. Kritisch · 9.8 CVE-2024-5751 < 1.40.16 1.40.16
  16. Hoch · 6.5 CVE-2024-4888 < 1.35.36 1.35.36
  17. Hoch · 7.2 CVE-2024-4264 <= 1.28.11 keine Korrektur

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.