cve.bz

CVE-2024-8019

9.1 criticalEPSS 1.1%

Critical (9.1) in lightningai pytorch lightning. EPSS 1.1% chance of exploitation in the next 30 days. Fixed in pytorch-lightning 2.4.0.

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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
1.1% chance of exploitation in the next 30 days; higher than 66% of CVEs (scores of 2026-10-31)
CWE
CWE-434
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4cv3-v7pv-rfhfPyPIpytorch-lightning<2.4.02.4.0
PYSEC-2026-3970PyPIlightning<2.4.02.4.0
PYSEC-2026-507PyPIpytorch-lightning<2.4.02.4.0

References

Check your stackJSON