CVE-2026-142196

7.0High

Published Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.0CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
High
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-502

What an attacker gets

Attackers can execute arbitrary code as the training user by providing a malicious checkpoint file. This requires the user to load a crafted checkpoint via FSDPStrategy.

Root cause

The FSDPStrategy.load_checkpoint method fails to enforce weights_only=True during pickle deserialization.

Affected versions

PyTorch Lightning through 2.6.6

CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to a version beyond 2.6.6 when available. Until then, do not load checkpoint files from untrusted sources.

remediation — bash
$ pip install --upgrade pytorch-lightning

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

PyTorch Lightning through 2.6.6 contains an insecure deserialization vulnerability in FSDPStrategy.load_checkpoint that ignores weights_only=True when loading local single-file checkpoints. Attackers who supply a crafted checkpoint can embed a pickle payload that _LazyLoadingUnpickler resolves through unrestricted find_class, executing code as the training user.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-142196

More fully triaged vulnerabilities you may want to check next.