Lightning-ai vulnerabilities
We track 6 vulnerabilities in Lightning-ai products across 2 products. 6 are rated high or critical, and none are known to be exploited. The most recent was published on July 15, 2026.
Latest Lightning-ai vulnerabilities
- 7.8 High severity
pytorch-lightning: Use of Externally-Controlled Input to Select Classes or Code
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 m
- 9.8 Critical severity
pytorch-lightning: Embedded Malicious Code
PyTorch Lightning is a deep learning framework to pretrain and finetune AI models. Versions 2.6.2 and 2.6.2 have introduced functionality consistent with a credential harvesting mechanism.
- 7.5 High severity
lightning-ai/pytorch-lightning: Uncaught Exception
A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sending an unexpected POST request to the `/api/v1/state` endpoint of `LightningApp`. This issue occurs due to improper handling of unexpected st
- 9.1 Critical severity
lightning-ai/pytorch-lightning: Unrestricted Upload of File with Dangerous Type
In lightning-ai/pytorch-lightning version 2.3.2, a vulnerability exists in the `LightningApp` when running on a Windows host. The vulnerability occurs at the `/api/v1/upload_file/` endpoint, allowing an attacker to write or overwrite arbitrary files by providi
- 9.8 Critical severity
lightning-ai/pytorch-lightning: Improper Limitation of a Pathname to a Restricted Directory
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 plugin
- 9.8 Critical severity
lightning-ai/pytorch-lightning: Improper Control of Dynamically-Managed Code Resources
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.Delt