Vulnerability in Lightning-ai Pytorch-lightning
CVE-2026-58659
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…
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Lightning-ai Pytorch-lightning — versions 0, d710d689510d50e800f53b3cd773cbca20b1f86f
Weakness classification (CWE)
References
- disclosure@vulncheck.com (technical-description, exploit)
- disclosure@vulncheck.com (issue-tracking)
- disclosure@vulncheck.com (patch)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-58659?
- CVE-2026-58659 is a high-severity vulnerability in Lightning-ai Pytorch-lightning, classified under Use of Externally-Controlled Input to Select Classes or Code (Unsafe Reflection). CVSS score: 7.8/10. Published 2026-07-15.
- How severe is CVE-2026-58659?
- High severity. CVSS v3 base score is 7.8 out of 10.