Critical severity · published Mar 20, 2025
CVE-2024-8019
Arbitrary File Write/Overwrite in lightning-ai/pytorch-lightning
9.1
CVSS
1.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 66% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
PL
Affected product
LI
lightning-ai/pytorch-lightning
lightning-ai
More from lightning-ai/pytorch-lightning
9.8
CVE-2024-5980
Arbitrary File Write via /v1/runs API endpoint in lightning-ai/pytorch-lightning
9.8
CVE-2024-5452
RCE via Property/Class Pollution in lightning-ai/pytorch-lightning
7.5
CVE-2024-8020
Denial of Service in lightning-ai/pytorch-lightning