cve.bz

CVE-2024-8019 lightningai pytorch lightning

9.1 criticalExploit referenceEPSS 1.1%Fix available

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

On this page
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% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-03-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-434 Unrestricted Upload of File with Dangerous Type
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-8019 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-8019?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-8019?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-8019 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
lightning-ai/pytorch-lightningbefore 2.3.3

Packages (OSV)

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

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON