Back to CVE records
Low 2.1Published Jul 8, 2026

CVE-2026-59821LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks

Updated under an hour ago ()

Does this affect you?

It affects BerriAI litellm and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
2.1 LOW (v4.0, CNA)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
Weakness (CWE)
CWE-94
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Jul 9, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
BerriAI litellm
berriai:litellm (from the name)
before 1.82.0-stable
CNA record
litellm litellm
litellm:litellm
before 1.82.0; 1.82.0
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.