Skip to main content
← All vulnerabilities
CVE-2026-59821PYSEC-2026-3478GHSA-72M8-9M7M-H278

LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.82.0-stable, 1.82.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.82.0-stable, LiteLLM's Custom Code Guardrails production create and update paths did not apply the same sandboxing and validation used by the test endpoint, allowing a privileged user with access to create or update guardrails to submit custom Python code that executed in the LiteLLM proxy environment and could expose secrets available to the process. This issue is fixed in version 1.82.0-stable.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • BerriAI litellm

    fixed in 1.82.0-stable

  • litellmPyPI

    fixed in 1.82.0

  • litellmPyPI

    fixed in 1.82.0

References 3

GitHub · BerriAI/litellm