CVE-2026-58659: PyTorch Lightning through 2.6.5, fixed in commit d710d68, contains a remote code execution vulnerability in the _load_st
Summary
PyTorch Lightning (a framework for training AI models) versions up to 2.6.5 contain a remote code execution vulnerability (a security flaw that lets attackers run their own code on your computer) in the _load_state function. Attackers can create malicious checkpoint files (saved model data) that bypass security protections and execute harmful code when you load a model using LightningModule.load_from_checkpoint.
Solution / Mitigation
Fixed in commit d710d68 (a specific code update in the PyTorch Lightning repository).
Vulnerability Details
7.8(high)
EPSS: 0.0%
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
local
low
none
required
July 15, 2026
Classification
Taxonomy References
Affected Vendors
Related Issues
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-58659
First tracked: July 16, 2026 at 02:07 AM
Classified by LLM (prompt v3) · confidence: 92%