Improper access control in LiteLLM - CVE-2026-59821

 

Improper access control in LiteLLM - CVE-2026-59821

Published: July 1, 2026


Vulnerability identifier: #VU136051
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59821
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code and disclose sensitive information.

The vulnerability exists due to improper access control in the Custom Code Guardrails production create/update paths when submitting custom Python code. A remote privileged user can create or update a guardrail with crafted code to execute arbitrary code and disclose sensitive information.

In deployments without a configured master key, callers could be treated as proxy administrators.


Affected software

LiteLLM

How to mitigate CVE-2026-59821

Install security update from vendor's website.

LiteLLM - update to 1.82.3

External References

Related Security Bulletins