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.
CVE-2026-59821
“—” beside the score: it is equal to NVD's CVSS score.
This high-severity CVE scores 7.2 under NVD CVSS v3. EPSS exploit probability: 0.9% (58th percentile of EPSS-scored CVEs). No GitHub Security Advisory CVSS is on record for this CVE.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.2
- EG Score
- 7.2HIGHmedium confidence
- EG Risk
- 33EG Risk 33/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computed (value × EchelonGraph’s weight)Severity72% × 45%The EG Score, 7.2 of 10.Exploitation0.9% × 40%FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.Automatability0% × 15%CISA's SSVC Automatable value: no (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at every mission impact level.Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.9%
- EPSS %ILE
- 58th
- KEV
- Not listed
SSVC (CISA's decision table, applied by EchelonGraph)Track at every mission impact level.
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)60 days if the affected system is publicly exposed; Fix on system upgrade if it is not.
In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
July 8, 2026
Last Modified
July 13, 2026
Advisory Details (3)
Auto-updated Jul 13, 2026Custom Code Guardrails production endpoints bypass code safety checks · Advisory · BerriAI/litellm · GitHub
https://github.com/BerriAI/litellm/security/advisories/GHSA-72m8-9m7m-h278v1.82.0-stable
Patch available: BerriAI/litellm v1.82.0-stable
https://github.com/BerriAI/litellm/releases/tag/v1.82.0-stablecommit e50b4486d0f7 (BerriAI/litellm)
Fix landed in BerriAI/litellm commit e50b4486d0f7 — awaiting tagged release
https://github.com/BerriAI/litellm/commit/e50b4486d0f7aa0497185a1ebcdd2c91f1769ebaVendor Advisories for CVE-2026-59821(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| litellm | 0.1.0 ... 1.9.dev0 (1094 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 36× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 100 of 152 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 52 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-10-13 16:34 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-13 15:51 UTCEG score recompute
- 2026-10-12 16:34 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-12 15:52 UTCEG score recompute
- 2026-10-11 19:36 UTCEG score recompute
- 2026-10-11 16:51 UTCEG score recompute
- 2026-10-11 14:13 UTCEG score recompute
- 2026-10-11 13:49 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-10 20:00 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-09 20:07 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-08 17:13 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-07 23:48 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-06 15:18 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-05 17:43 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-04 23:22 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-03 14:26 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-02 17:56 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-01 19:50 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-10-01 16:11 UTCEG score recompute
- 2026-09-30 15:03 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-09-29 15:22 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-09-28 13:51 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-09-28 13:22 UTCEG score recompute
- 2026-09-27 13:48 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-09-26 15:59 UTCEPSS rescoreEPSS 0.9% · 58th percentile
Show 75 moreShow fewer
- 2026-09-24 14:04 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-09-24 11:48 UTCEG score recompute
- 2026-09-23 17:54 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-09-23 06:10 UTCEG score recompute
- 2026-09-20 20:16 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-09-18 19:28 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-09-18 05:43 UTCEG score recompute
- 2026-09-17 19:31 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-09-16 14:08 UTCEPSS rescoreEPSS 0.9% · 58th percentile
- 2026-09-16 05:15 UTCEPSS rescoreEPSS 0.9% · 57th percentile
- 2026-09-15 03:11 UTCEPSS rescoreEPSS 0.7% · 49th percentile
- 2026-09-13 23:49 UTCEG score recompute
- 2026-09-13 16:47 UTCEPSS rescoreEPSS 0.7% · 49th percentile
- 2026-09-12 15:22 UTCEG score recompute
- 2026-09-12 03:32 UTCEG score recompute
- 2026-09-11 14:53 UTCEPSS rescoreEPSS 0.7% · 49th percentile
- 2026-09-10 09:35 UTCEPSS rescoreEPSS 0.7% · 49th percentile
- 2026-09-08 22:01 UTCEPSS rescoreEPSS 0.7% · 49th percentile
- 2026-09-07 16:01 UTCEPSS rescoreEPSS 0.7% · 49th percentile
- 2026-09-06 14:03 UTCEG score recompute
- 2026-09-06 13:47 UTCEPSS rescoreEPSS 0.7% · 49th percentile
- 2026-09-05 22:47 UTCEG score recompute
- 2026-09-04 05:07 UTCEPSS rescoreEPSS 0.7% · 48th percentile
- 2026-09-02 14:12 UTCEPSS rescoreEPSS 0.7% · 48th percentile
- 2026-09-01 13:54 UTCEPSS rescoreEPSS 0.7% · 48th percentile
- 2026-09-01 04:40 UTCEPSS rescoreEPSS 0.7% · 48th percentile
- 2026-08-30 19:19 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescoreEPSS 0.7% · 48th percentile
- 2026-08-30 07:30 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescoreEPSS 0.7% · 48th percentile
- 2026-08-28 21:42 UTCEPSS rescoreEPSS 0.7% · 48th percentile
- 2026-08-27 21:50 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescoreEPSS 0.7% · 48th percentile
- 2026-08-27 01:29 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescoreEPSS 0.7% · 48th percentile
- 2026-08-26 08:23 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescoreEPSS 0.7% · 48th percentile
- 2026-08-24 20:33 UTCEG score recompute
- 2026-08-23 05:27 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-22 03:46 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-21 03:59 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-20 01:59 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-18 23:22 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-17 23:31 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-16 23:48 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-16 11:59 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-15 12:22 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-14 00:56 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-13 01:18 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-11 13:50 UTCEG score recompute
- 2026-08-11 02:01 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-09 14:35 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-09 02:47 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-08 03:10 UTCEG score recompute
- 2026-08-06 15:43 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-06 03:41 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-05 01:29 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescoreEPSS 0.4% · 28th percentile
- 2026-08-04 13:41 UTCEG score recompute
Related CVEs(same product + same CWE)
Same product
10 shownPyPI:litellm
- CVE-2026-37004EG 9.8CRITICAL
- CVE-2026-12773EG 9.8CRITICAL
- CVE-2026-49468EG 9.8CRITICAL
- CVE-2026-42208EG 9.8 KEVEPSS p93CRITICAL
- CVE-2024-5751EG 9.8CRITICAL
- CVE-2024-4264EG 9.8CRITICAL
- CVE-2024-2952EG 9.8CRITICAL
- CVE-2026-35030EG 9.1CRITICAL
- CVE-2026-59822NVD 8.2EG 9.0 KEVCRITICAL
- CVE-2026-42271NVD 8.8EG 9.0 KEVEPSS p100CRITICAL
Frequently asked(5)
What is CVE-2026-59821?
When was the CVE record for CVE-2026-59821 published?
Is CVE-2026-59821 actively exploited?
What is the CVSS score of CVE-2026-59821?
How do I remediate CVE-2026-59821?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59821
Is Your Infrastructure Affected by CVE-2026-59821?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.