HIGHVulnerability
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. Attackers can craft malicious checkpoint files that bypass weights_only=True protections to execute arbitrary code when LightningModule.load_from_checkpoint is called.
Properties
- severity
- HIGH
- score
- 7.8
- cve_id
- CVE-2026-58659
- vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- published_at
- 2026-07-15T18:16:48.743
- last_modified
- 2026-08-06T17:31:14.770
Related Entities (3)
HAS_WEAKNESS (1)
→[Weakness]Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
DESCRIBED_BY (1)
→[Source]NVD
AFFECTS_PRODUCT (1)
→[Product]
Explore deeper with Ninja Signal's threat intelligence graph