In lightning-ai/pytorch-lightning version 2.3.2, a vulnerability exists in the `LightningApp` when running on a Windows host.
- CVSS
- 9.1Critical
- Chance of exploitation (EPSS)
- 1.1%
- Published
- Mar 20, 2025
- In the news
- Not yet
What to do
A critical unsafe file upload flaw in Lightningai Pytorch Lightning that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 2.3.3
Affected versions
- Lightning-ai Pytorch-lightning
- Before 2.3.3
- Lightningai Pytorch-lightning
- Before 2.3.3
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2024-8019 published (CVSS 9.1) (Mar 20, 2025)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Mar 20, 2025
- CVECVE-2024-8019 published (CVSS 9.1)CVE Program · 10:15 UTC
References 2
- github.com Patch /lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a
- huntr.com Exploit /bounties/2754298b-5af5-48ef-8b38-999093ddf2bd