Approved changes feed: RSS · Atom

cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:*

part: a version: * update: *

VendorLightningai (e54a4635-c303-523b-a3e3-baeb6601eb7e)
ProductPytorch Lightning (8fa9b37e-bb47-5dd1-a393-247df197fa1a)
Edition*
Language*
Software edition*
Target softwarepython
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/lightning-ai/pytorch-lightning purl2cpe 2026-06-01 10:14:48.460552
pkg:pypi/pytorch-lightning purl2cpe 2026-06-01 10:14:48.460554

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-58659 vulnerable 2026-07-29 01:03:17.327806 PyTorch Lightning Arbitrary Code Execution via _instantiator Hyperparameter
HIGH (7.8)
PyTorch Lightning through 2.6.5, fixed in commit d710d68, contains a remote code execution vulnerability in the _load_state function that imports and executes attacker-controlled module names from checkpoint _instantiator hyperparameters. Attackers can craft malicious checkpoint files that bypass weights_only=True protections to execute arbitrary code when LightningModule.load_from_checkpoint is called.
Published: 2026-07-15T17:02:40.640Z
Updated: 2026-11-08T14:07:14.048Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-31221 vulnerable 2026-06-08 07:57:14.745388 Details available
PyTorch-Lightning versions 2.6.0 and earlier contain an insecure deserialization vulnerability (CWE-502) in the checkpoint loading mechanism. The LightningModule.load_from_checkpoint() method, which is commonly used to load saved model states, internally calls torch.load() without setting the security-restrictive weights_only=True parameter. This default behavior allows the deserialization of arbitrary Python objects via the Pickle module. A remote attacker can exploit this by providing a maliciously crafted checkpoint file, leading to arbitrary code execution on the victim's system when the file is loaded.
Published: 2026-05-12T00:00:00.000Z
Updated: 2026-05-15T18:05:39.679Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-5980 vulnerable 2026-06-08 06:58:17.049626 Arbitrary File Write via /v1/runs API endpoint in lightning-ai/pytorch-lightning
CRITICAL (9.1)
A vulnerability in the /v1/runs API endpoint of lightning-ai/pytorch-lightning v2.2.4 allows attackers to exploit path traversal when extracting tar.gz files. When the LightningApp is running with the plugin_server, attackers can deploy malicious tar.gz plugins that embed arbitrary files with path traversal vulnerabilities. This can result in arbitrary files being written to any directory in the victim's local file system, potentially leading to remote code execution.
Published: 2024-06-27T18:46:39.213Z
Updated: 2025-10-21T14:13:14.205Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-5452 vulnerable 2026-06-08 06:56:16.060226 RCE via Property/Class Pollution in lightning-ai/pytorch-lightning
CRITICAL (9.8)
A remote code execution (RCE) vulnerability exists in the lightning-ai/pytorch-lightning library version 2.2.1 due to improper handling of deserialized user input and mismanagement of dunder attributes by the `deepdiff` library. The library uses `deepdiff.Delta` objects to modify application state based on frontend actions. However, it is possible to bypass the intended restrictions on modifying dunder attributes, allowing an attacker to construct a serialized delta that passes the deserializer whitelist and contains dunder attributes. When processed, this can be exploited to access other modules, classes, and instances, leading to arbitrary attribute write and total RCE on any self-hosted pytorch-lightning application in its default configuration, as the delta endpoint is enabled by default.
Published: 2024-06-06T17:54:57.559Z
Updated: 2025-10-15T12:50:27.239Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-0845 vulnerable 2026-06-08 05:39:11.308887 Code Injection in pytorchlightning/pytorch-lightning
HIGH (7.3)
Code Injection in GitHub repository pytorchlightning/pytorch-lightning prior to 1.6.0.
Published: 2022-03-05T21:25:09.000Z
Updated: 2024-08-02T23:40:04.570Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-4118 vulnerable 2026-06-08 05:38:08.452847 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.