CVE-2024-5980
published critical CVSS 3.0 · 9.1Arbitrary File Write via /v1/runs API endpoint in lightning-ai/pytorch-lightning
Package status and fixes
Description
A vulnerability in the /v1/runs API endpoint of lightning-ai/pytorch-lightning v2.2.4 allows attackers to exploit path traversal when extracting tar.gz files. When the LightningApp is running with the plugin_server, attackers can deploy malicious tar.gz plugins that embed arbitrary files with path traversal vulnerabilities. This can result in arbitrary files being written to any directory in the victim's local file system, potentially leading to remote code execution.
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 |
| lightning_ai | lightning_ai\/pytorch_lightning | 0 and later (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2Provider assertions
3@huntr_ai · cna
Arbitrary File Write via /v1/runs API endpoint in lightning-ai/pytorch-lightning
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9b2e99aa38605d16def1fa35fb775b3780f1c6732c00eb784613f7cc50fb8811
- Ingested
- 23 Sep 2026, 08:33:03 UTC
- Source record
- Official CVE record