CVE-2026-58659
HIGH
MEDIUM
Priority: 0.05
BB Relevance:
42/100
Published: 2026-07-15
Modified: 2026-10-24
First seen: 2026-10-29
Status: active
Attack Surface
Low Complexity
No Auth
Conf. Impact
Integ. Impact
CVSS Vector Breakdown
AV:
Local
AC:
Low
PR:
None
UI:
Active
S:
X
AT:
None
VC:
High
VI:
High
VA:
High
Description
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.
Weakness Classification (1)
Affected Software (1)
| Vendor | Product | Version |
|---|---|---|
| lightningai | pytorch_lightning | < 2.6.5 |
References & Advisories (4)
Patch
Issue Tracking
Patch
Exploit
Patch
Third Party Advisory
Exploit
Issue Tracking
Mitigation