CVE-2024-8019
published critical CVSS 3.0 · 9.1Arbitrary File Write/Overwrite in lightning-ai/pytorch-lightning
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lightning-ai | — | lightning-ai/pytorch-lightningunspecified to < 2.3.3 | Affected | Not stated | @huntr_ai |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lightning-ai | lightning-ai/pytorch-lightning | unspecified to < 2.3.3 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
References
2Provider assertions
2@huntr_ai · cna
Arbitrary File Write/Overwrite in lightning-ai/pytorch-lightning
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 025f21aa23db8aa133ebc452e4681244bf76c581423e0bfa1ddd15330ec3d74c
- Ingested
- 23 Sep 2026, 08:34:06 UTC
- Source record
- Official CVE record