Skip to main content
CVE-2026-142196VulnerabilityPublished

PyTorch Lightning through 2.6.6 contains an insecure deserialization vulnerability in FSDPStrategy.load_checkpoint

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-142196· High 7.3

Not known to be exploited · CVSS 7.3 High.

Data as of 2 Dec 2026, 20:29 UTC

CVSS 4.0 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.07.3
CNA (VulnCheck)CVSS 3.17.0
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Affected software

ProductAffectedFixed in
Lightning-AIPyTorch LightningAffected
  • <=2.6.6
Fixed in–
PyPIPyTorch Lightningpkg:pypi/PyTorch LightningOther threatsAffected
  • <=2.6.6
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid loading untrusted or unauthenticated checkpoint files with FSDPStrategy.load_checkpoint. Restrict local access to trusted users to reduce risk.

Description

PyTorch Lightning versions up to 2.6.6 have an insecure deserialization vulnerability in the FSDPStrategy.load_checkpoint function. This flaw causes the function to ignore the weights_only=True parameter when loading local single-file checkpoints. An attacker supplying a crafted checkpoint can embed a malicious pickle payload that is deserialized using _LazyLoadingUnpickler with unrestricted find_class, leading to arbitrary code execution as the user running the training process.

References

Community reviews

Loading reviews…