HackerFeeds
All CVEs

CVE-2026-142196: PyTorch Lightning Deserialization of Untrusted Data

HIGH7.0

Published 2026-12-02 · Updated 2026-12-04 · Source disclosure@vulncheck.com

Not known to be exploited · high severity — apply the vendor fix or mitigation in your next patch cycle.

What to do

  1. The advisory lists versions through 2.6.6 as affected and does not name a fixed release. Check the references below for a newer version of PyTorch Lightning or a vendor mitigation.
  2. Until it is patched, limit who has a local account on systems running PyTorch Lightning.
  3. Block untrusted serialized input to the affected endpoint at the proxy or WAF.
  4. Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.

Affected and fixed versions

ProductAffectedFixed in
PyTorch Lightning≤ 2.6.6Not stated in the advisory

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality, integrity and availability is rated high.

CVSS 3.1 metrics for CVE-2026-142196
Attack vectorLocalExploiting it requires local access to the system, or getting a user to open a crafted file.
Attack complexityHighSuccess depends on conditions outside the attacker's control.
Privileges requiredNoneThe attacker does not need an account.
User interactionRequiredA victim has to take an action, such as opening a link or file.
ConfidentialityHighTotal loss of confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityHighTotal loss of availability.

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

Weakness: Deserialization of Untrusted Data

The application rebuilds objects from attacker-supplied data, which frequently leads to arbitrary code execution.

Classified as CWE-502.

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.

Advisory text as published in the NVD record.

View on NVD