CVE-2026-59821CWE-94

LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks

Low · published July 8, 2026

CVSS v4.0
2.1
EPSS
1%
Percentile
59.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
2.1 · LOW
Vector
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
EPSS
0.00904 · 59.5th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-07-08T19:14Z
EPSS history
Timeline
  • 08 JUL 19:14Z
    LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks
    cvelistv5