HighVulnerability
CVE-2026-58659: PyTorch Lightning remote code execution via checkpoint _instantiator
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-58659
- Published
- Record updated
- Affected
- lightning < 2.6.6
- Fixed in
- 2.6.6
- released September 10, 2026, 57 days after disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
CVE-2026-58659 affects PyTorch Lightning through 2.6.5, fixed in commit d710d68. The _load_state function imports and executes attacker-controlled module names taken from checkpoint _instantiator hyperparameters. A crafted checkpoint that bypasses weights_only=True can run arbitrary code when LightningModule.load_from_checkpoint is called.
Mitigation
Fixed in commit d710d68.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- lightningPyPILLM dependency since 2025-10-26 · 3 tracked dependents
Related items
- HighCVE-2026-138118: HyperSpy insecure deserialization via crafted .hspy or .zspy filesSimilar attack · NVD/CVE Database
- HighCVE-2026-138028: Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows…Similar attack · NVD/CVE Database
- HighCVE-2026-137463: HKUDS nanobot OpenAI Codex provider skips TLS certificate checks on retrySimilar attack · NVD/CVE Database
- Medium28 Zero-Day Findings in Less Than Two Days: What AI-Speed Discovery Means for RoboticsSimilar attack · VicOne Blog
- HighCVE-2026-137308: markdownify-mcp server-side request forgery in URL validation bypassSimilar attack · NVD/CVE Database