Bug 2501037 (CVE-2026-58659) - CVE-2026-58659 pytorch-lightning: PyTorch Lightning: Remote code execution via malicious checkpoint files
Summary: CVE-2026-58659 pytorch-lightning: PyTorch Lightning: Remote code execution vi...
Keywords:
Status: NEW
Alias: CVE-2026-58659
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-15 18:01 UTC by OSIDB Bzimport
Modified: 2026-07-16 12:09 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-15 18:01:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.