CVE-2026-58659

HIGHPre-NVD 7.87.8
EchelonGraph scoreMEDIUM confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-07-15. a secondary CVSS source baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Elevated
7.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.8Exploit: Elevated riskExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

PyTorch Lightning through 2.6.5, fixed in commit d710d68, contains a remote code execution vulnerability in the _load_state function that imports and executes attacker-controlled module names from checkpoint _instantiator hyperparameters. Attackers can craft malicious checkpoint files that bypass weights_only=True protections to execute arbitrary code when LightningModule.load_from_checkpoint is called.

CVSS v3
7.8
EG Score
7.8(medium)
EG Risk
51(Track*)
EG Risk 51/100SSVC: Track*

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
Severity78% × 45%
Exploitation40% × 40%
Automatability0% × 15%
Action: Watch closely — could escalate to Attend.
EPSS PROB
0%
EPSS %ILE
26%
KEV
Not listed

Published

July 15, 2026

Last Modified

August 6, 2026

Advisory Details (4)

Auto-updated Jul 15, 2026
Upstream fix merged — awaiting tagged release. Sources: github_commit, github_pr.
generic

PyTorch Lightning Arbitrary Code Execution via _instantiator Hyperparameter | Advisories | VulnCheck

https://www.vulncheck.com/advisories/pytorch-lightning-arbitrary-code-execution-via-instantiator-hyperparameter
github_pr

fix(checkpoint): prevent arbitrary code execution via `_instantiator` in `load_from_checkpoint`

Fix merged in Lightning-AI/pytorch-lightning PR #21832 on 2026-07-14 — awaiting tagged release

https://github.com/Lightning-AI/pytorch-lightning/pull/21832
generic

Arbitrary code execution via the `_instantiator` hyperparameter in `LightningModule.load_from_checkpoint` — defeats `torch.load(weights_only=True)` · Issue #21822 · Lightning-AI/pytorch-lightning · GitHub

https://github.com/Lightning-AI/pytorch-lightning/issues/21822
github_commit

commit d710d689510d (Lightning-AI/pytorch-lightning)

Fix landed in Lightning-AI/pytorch-lightning commit d710d689510d — awaiting tagged release

https://github.com/Lightning-AI/pytorch-lightning/commit/d710d689510d50e800f53b3cd773cbca20b1f86f

Vendor Advisories for CVE-2026-58659(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)
PackageVulnerable rangeFixed inDependents
lightning1.8.0 ... 2.6.5 (171 versions)2022.6.15

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 9× in last 7d / 58× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. 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. Most recent first.

Showing the most recent 100 of 184 total refreshes for this CVE.

  1. 2026-09-18 19:28 UTCEPSS rescore
  2. 2026-09-18 04:44 UTCEG score recompute
  3. 2026-09-17 19:31 UTCEPSS rescore
  4. 2026-09-16 14:08 UTCEPSS rescore
  5. 2026-09-16 05:15 UTCEPSS rescore
  6. 2026-09-15 03:11 UTCEPSS rescore
  7. 2026-09-13 23:12 UTCEG score recompute
  8. 2026-09-13 16:47 UTCEPSS rescore
  9. 2026-09-13 07:13 UTCEG score recompute
  10. 2026-09-11 21:45 UTCEG score recompute
  11. 2026-09-11 14:53 UTCEPSS rescore
  12. 2026-09-10 09:35 UTCEPSS rescore
  13. 2026-09-08 22:01 UTCEPSS rescore
  14. 2026-09-08 00:50 UTCEG score recompute
  15. 2026-09-07 16:01 UTCEPSS rescore
  16. 2026-09-06 13:47 UTCEPSS rescore
  17. 2026-09-05 20:50 UTCEG score recompute
  18. 2026-09-04 05:07 UTCEPSS rescore
  19. 2026-09-02 14:12 UTCEPSS rescore
  20. 2026-09-01 13:54 UTCEPSS rescore
  21. 2026-09-01 04:40 UTCEPSS rescore
  22. 2026-08-31 03:51 UTCEG score recompute
  23. 2026-08-31 03:51 UTCGHSA enrichment
  24. 2026-08-30 19:17 UTCEPSS rescore
  25. 2026-08-30 16:04 UTCGHSA enrichment
Show 75 more
  1. 2026-08-30 03:51 UTCEG score recompute
  2. 2026-08-30 03:51 UTCGHSA enrichment
  3. 2026-08-30 01:22 UTCEPSS rescore
  4. 2026-08-28 21:42 UTCEPSS rescore
  5. 2026-08-27 23:59 UTCEG score recompute
  6. 2026-08-27 23:59 UTCGHSA enrichment
  7. 2026-08-27 14:25 UTCEPSS rescore
  8. 2026-08-27 12:40 UTCGHSA enrichment
  9. 2026-08-26 23:07 UTCEG score recompute
  10. 2026-08-26 23:07 UTCGHSA enrichment
  11. 2026-08-26 14:46 UTCEPSS rescore
  12. 2026-08-26 07:30 UTCGHSA enrichment
  13. 2026-08-25 19:01 UTCEG score recompute
  14. 2026-08-25 19:01 UTCGHSA enrichment
  15. 2026-08-25 13:49 UTCEPSS rescore
  16. 2026-08-25 06:52 UTCGHSA enrichment
  17. 2026-08-24 19:32 UTCEG score recompute
  18. 2026-08-24 19:32 UTCGHSA enrichment
  19. 2026-08-24 06:25 UTCGHSA enrichment
  20. 2026-08-23 18:50 UTCGHSA enrichment
  21. 2026-08-23 07:31 UTCEG score recompute
  22. 2026-08-23 07:31 UTCGHSA enrichment
  23. 2026-08-23 00:19 UTCEPSS rescore
  24. 2026-08-22 20:11 UTCGHSA enrichment
  25. 2026-08-22 08:52 UTCEG score recompute
  26. 2026-08-22 08:52 UTCGHSA enrichment
  27. 2026-08-21 23:49 UTCEPSS rescore
  28. 2026-08-21 21:33 UTCGHSA enrichment
  29. 2026-08-21 10:14 UTCEG score recompute
  30. 2026-08-21 10:14 UTCGHSA enrichment
  31. 2026-08-20 22:55 UTCEPSS rescore
  32. 2026-08-20 22:54 UTCGHSA enrichment
  33. 2026-08-20 11:35 UTCGHSA enrichment
  34. 2026-08-20 00:16 UTCEG score recompute
  35. 2026-08-20 00:16 UTCGHSA enrichment
  36. 2026-08-19 17:04 UTCEPSS rescore
  37. 2026-08-19 07:18 UTCGHSA enrichment
  38. 2026-08-18 19:59 UTCEG score recompute
  39. 2026-08-18 19:59 UTCGHSA enrichment
  40. 2026-08-18 13:48 UTCEPSS rescore
  41. 2026-08-18 02:34 UTCGHSA enrichment
  42. 2026-08-17 14:00 UTCEG score recompute
  43. 2026-08-17 14:00 UTCGHSA enrichment
  44. 2026-08-17 13:47 UTCEPSS rescore
  45. 2026-08-17 02:41 UTCGHSA enrichment
  46. 2026-08-16 15:22 UTCEG score recompute
  47. 2026-08-16 15:22 UTCGHSA enrichment
  48. 2026-08-16 14:56 UTCEPSS rescore
  49. 2026-08-16 04:03 UTCEG score recompute
  50. 2026-08-16 04:03 UTCGHSA enrichment
  51. 2026-08-16 02:14 UTCEPSS rescore
  52. 2026-08-15 16:44 UTCGHSA enrichment
  53. 2026-08-15 05:25 UTCEG score recompute
  54. 2026-08-15 05:25 UTCGHSA enrichment
  55. 2026-08-15 01:30 UTCEPSS rescore
  56. 2026-08-14 18:05 UTCGHSA enrichment
  57. 2026-08-14 06:46 UTCEG score recompute
  58. 2026-08-14 06:46 UTCGHSA enrichment
  59. 2026-08-13 22:00 UTCEPSS rescore
  60. 2026-08-13 19:27 UTCGHSA enrichment
  61. 2026-08-13 08:09 UTCGHSA enrichment
  62. 2026-08-12 20:50 UTCEG score recompute
  63. 2026-08-12 20:50 UTCGHSA enrichment
  64. 2026-08-12 13:51 UTCEPSS rescore
  65. 2026-08-12 09:31 UTCGHSA enrichment
  66. 2026-08-11 22:11 UTCEG score recompute
  67. 2026-08-11 22:11 UTCGHSA enrichment
  68. 2026-08-11 10:48 UTCEG score recompute
  69. 2026-08-11 10:48 UTCGHSA enrichment
  70. 2026-08-11 00:00 UTCEPSS rescore
  71. 2026-08-10 23:28 UTCGHSA enrichment
  72. 2026-08-10 12:08 UTCGHSA enrichment
  73. 2026-08-10 00:49 UTCEG score recompute
  74. 2026-08-10 00:49 UTCGHSA enrichment
  75. 2026-08-09 13:46 UTCEPSS rescore

Frequently asked(5)

What is CVE-2026-58659?
CVE-2026-58659 is a high vulnerability published on July 15, 2026. PyTorch Lightning through 2.6.5, fixed in commit d710d68, contains a remote code execution vulnerability in the loadstate function that imports and executes attacker-controlled module names from checkpoint instantiator hyperparameters. Attackers can craft malicious checkpoint files that bypass…
When was CVE-2026-58659 disclosed?
CVE-2026-58659 was first published in the National Vulnerability Database on July 15, 2026, with the most recent update on August 6, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-58659 actively exploited?
CVE-2026-58659 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 74.1% of all scored CVEs.
What is the CVSS score of CVE-2026-58659?
CVE-2026-58659 has a CVSS v3 base score of 7.8 (NVD).
How do I remediate CVE-2026-58659?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-58659, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-58659

Explore →

Is Your Infrastructure Affected by CVE-2026-58659?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.