CVE-2024-8019

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.
Configurations

Configuration 1 (hide)

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

History

01 Aug 2025, 01:42

Type Values Removed Values Added
First Time Lightningai pytorch Lightning
Lightningai
CPE cpe:2.3:a:lightningai:pytorch_lightning:2.3.2:*:*:*:*:python:*:*
References () https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a - () https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a - Patch
References () https://huntr.com/bounties/2754298b-5af5-48ef-8b38-999093ddf2bd - () https://huntr.com/bounties/2754298b-5af5-48ef-8b38-999093ddf2bd - Exploit, Third Party Advisory
Summary
  • (es) En la versión 2.3.2 de lightning-ai/pytorch-lightning, existe una vulnerabilidad en la aplicación `LightningApp` al ejecutarse en un host Windows. La vulnerabilidad se produce en el endpoint `/api/v1/upload_file/`, lo que permite a un atacante escribir o sobrescribir archivos arbitrarios proporcionando un nombre de archivo manipulado. Esto puede provocar una posible ejecución remota de código (RCE) al sobrescribir archivos críticos o colocar archivos maliciosos en ubicaciones sensibles.

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