CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

GHSA-72m8-9m7m-h278: LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks

lowCVE-2026-59821
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.

Details

Source
GitHub Security Advisories (INTL · database · site)
Severity
low
Published
2026-07-22
Last updated
2026-07-22
Exploitation
Not in CISA KEV at last sync

Original advisory: https://github.com/advisories/GHSA-72m8-9m7m-h278

Exploitation outlook

EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.

Referenced CVEs

CVECSIRTS overviewExternal
CVE-2026-59821coverage & exploitation statusNVD · CVE.org

Same CVEs, other sources

How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.

More from GitHub Security Advisories