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 providing a crafted filename. This can lead to potential remote code execution (RCE) by overwriting critical files or placing malicious files in sensitive locations.
References
Link | Resource |
---|---|
https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a | Patch |
https://huntr.com/bounties/2754298b-5af5-48ef-8b38-999093ddf2bd | Exploit Third Party Advisory |
Configurations
History
01 Aug 2025, 01:42
Type | Values Removed | Values Added |
---|---|---|
First Time |
Lightningai
Lightningai pytorch Lightning |
|
CPE | cpe:2.3:a:lightningai:pytorch_lightning:2.3.2:*:*:*:*:python:*:* | |
Summary |
|
|
References | () https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a - Patch | |
References | () https://huntr.com/bounties/2754298b-5af5-48ef-8b38-999093ddf2bd - Exploit, Third Party Advisory |
20 Mar 2025, 10:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-03-20 10:15
Updated : 2025-08-01 01:42
NVD link : CVE-2024-8019
Mitre link : CVE-2024-8019
CVE.ORG link : CVE-2024-8019
JSON object : View
Products Affected
lightningai
- pytorch_lightning
CWE
CWE-434
Unrestricted Upload of File with Dangerous Type