Arbitrary file upload in Lightning-ai Lightning-ai/pytorch-lightning

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 arbit…

Vulnerability class: Unrestricted File Upload

EPSS: 0.010 (59.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-8019?
CVE-2024-8019 is a critical-severity vulnerability in Lightning-ai Lightning-ai/pytorch-lightning, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.1/10. Published 2025-03-20.
How severe is CVE-2024-8019?
Critical severity. CVSS v3 base score is 9.1 out of 10.