Advisory record · GHSA-qqmf-gpg7-g8gw

PyTorch Lightning allows arbitrary code execution through checkpoint _instantiator hyperparameters

CVSS 8.4 HighEPSS 0.0063 · 50th percentile

Published by the GitHub Advisory Database at 15 Jul 2026, 18:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
lightningPyPI<2.6.62.6.6
Identifiers
GHSA-qqmf-gpg7-g8gw · CVE-2026-58659 · PYSEC-2026-3624 · PYSEC-2026-3967
Weakness (CWE)
CWE-470
Published
15 Jul 2026
Updated
24 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

PyTorch Lightning (lightning package) versions before 2.6.6 are vulnerable. An attacker who can supply a malicious checkpoint file can cause arbitrary code to run when it is loaded with LightningModule.load_from_checkpoint, even with weights_only=True set. Upgrade to lightning 2.6.6 or later. The source gives few details on workarounds.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.4 High 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0063, the 50th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 15 Jul 2026, 17:02 UTC Confirmed by the CVE List
  2. 31 Oct 2026, 14:09 UTC First seen by agentprime
  3. 31 Oct 2026, 14:09 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.