CVE-2026-59821
Last modified
CVE-2026-59821 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Litellm | Litellm | < 1.82.0 | — |
| Litellm | Litellm | 1.82.0 | Nightly |
References
- https://github.com/BerriAI/litellm/releases/tag/v1.82.0-stableProduct, Release Notes
- https://github.com/BerriAI/litellm/security/advisories/GHSA-72m8-9m7m-h278Mitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-59821?
How severe is CVE-2026-59821?
How do I fix CVE-2026-59821?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5981A vulnerability has been found in D-Link DIR-605L 2.13B01. T…8.8
- CVE-2026-59817Ghost is a Node.js content management system. From 6.27.0 be…5.3
- CVE-2026-59818etcd is a distributed key-value store for the data of a dist…8.1
- CVE-2026-59819LiteLLM is a proxy server (AI Gateway) to call LLM APIs in O…4.9
- CVE-2026-5982A vulnerability was found in D-Link DIR-605L 2.13B01. This v…8.8
- CVE-2026-59820LiteLLM is a proxy server (AI Gateway) to call LLM APIs in O…6.5
- CVE-2026-59822LiteLLM is a proxy server (AI Gateway) to call LLM APIs in O…8.2
- CVE-2026-59826Metabase is an open-source business intelligence and embedde…9.1
- CVE-2026-59827Metabase is an open-source business intelligence and embedde…8.8
- CVE-2026-59828Discourse is an open-source discussion platform. Prior to 20…5.3
- CVE-2026-5983A vulnerability was determined in D-Link DIR-605L 2.13B01. T…8.8
- CVE-2026-59831GitHub CLI (gh) is GitHub’s official command line tool. From…4.4
Are you affected by CVE-2026-59821?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
