Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
LiteLLM versions before 1.82.0 have a flaw where the production create and update paths for Custom Code Guardrails skip the sandboxing and validation applied by the test endpoint. An attacker who holds a privileged account able to create or update guardrails can run custom Python code inside the LiteLLM proxy, which may expose secrets available to the process. Upgrade to LiteLLM 1.82.0 or later. Until then, limit access to the guardrail create and update endpoints to trusted administrators, make sure a master key is set, and avoid enabling Custom Code Guardrails for untrusted users.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 2.1 | Low | 4.0 | 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 | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0090, the 60th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:11 UTC First seen by agentprime
- 31 Oct 2026, 14:11 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-72m8-9m7m-h278
- OSV: GHSA-72m8-9m7m-h278
- github.com/BerriAI/litellm/security/advisories/GHSA-72m8-9m7m-h278
- nvd.nist.gov/vuln/detail/CVE-2026-59821
- github.com/BerriAI/litellm/commit/e50b4486d0f7aa0497185a1ebcdd2c91f1769eba
- github.com/BerriAI/litellm
- github.com/BerriAI/litellm/releases/tag/v1.82.0-stable