Answer in brief
CVE-2026-58659 records a High severity (CVSS 7.8) vulnerability in PyTorch Lightning allows arbitrary code execution through checkpoint _instantiator hyperparameters. The current sources do not mark it as known exploited. The current feed maps lightning (pip), lightning (pypi). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 7.8. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps lightning (pip), lightning (pypi). Check affected ranges and fixed versions before updating.
| Product | Affected versions | Fixed versions |
|---|---|---|
| cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:* | Not reported | Not reported |
| Package | Affected range | Fixed version |
|---|---|---|
| lightningpip | <2022.6.15 | 2022.6.15 |
| lightningpypi | >=0 | Not reported |
Published upstream
Jul 15, 2026
Evidence: source:ghsa:source_dates:source-dates:recordSource modified
Sep 3, 2026
Evidence: source:ghsa:source_dates:source-dates:recordFirst seen by HOL
Jul 15, 2026
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.
Quoted source text, attributed separately from HOL analysis.