PT-2026-85358 · Pypi · Lightning
Published
2026-07-15
·
Updated
2026-07-15
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
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.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Lightning