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.
CVE ID: CVE-2024-8019
CVSS Base Severity: CRITICAL
CVSS Base Score: 9.1
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Vendor: lightning-ai
Product: lightning-ai/pytorch-lightning
EPSS Score: 0.25% (probability of being exploited)
EPSS Percentile: 48.73% (scored less or equal to compared to others)
EPSS Date: 2025-04-18 (when was this score calculated)