NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🛡️
Not in CISA KEV
HIGH severity

CVE-2026-142196 — PyTorch Lightning

HIGH

CVE-2026-142196 is a high-severity (CVSS 7) Deserialization of Untrusted Data vulnerability in Lightning-AI PyTorch Lightning. Versions up to 2.6.6 are affected; the records list no fixed version yet, so check the vendor advisory below.

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.…

Published
Updated
Affected
1 product
Patched
See advisory
Exploits
None indexed
Exploitation data as of Dec 2, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

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.

Affected Products

1 product · 1 configurations
Application
PyTorch LightningLightning-AI
≤ 2.6.6
1 version
0

Detection & mitigation playbook

Vendor / appliance
  1. Detect

    Inventory every Lightning-AI PyTorch Lightning deployment and check each version against the affected-products list above.

  2. Remediation status

    The records we use list no fixed version for CVE-2026-142196 (versions up to 2.6.6 are affected). Check the Lightning-AI PyTorch Lightning advisory for a patched release, and apply the workarounds below until you can upgrade.

  3. Mitigate without a patch

    Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.

Frequently Asked Questions

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.
O3 Security · Runtime Protection

Is CVE-2026-142196 being exploited in your environment?

Detect and block the exploit chain at execution, on systems you cannot patch yet.