CVE-2024-5980

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:*

History

30 Jul 2025, 17:53

Type Values Removed Values Added
CWE CWE-434
First Time Lightningai
Lightningai pytorch Lightning
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References () https://huntr.com/bounties/55a6ac6f-89c7-42ea-86f3-c6e93a2679f3 - () https://huntr.com/bounties/55a6ac6f-89c7-42ea-86f3-c6e93a2679f3 - Exploit, Third Party Advisory
CPE cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:*

27 Jun 2024, 19:25

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-27 19:15

Updated : 2025-07-30 17:53


NVD link : CVE-2024-5980

Mitre link : CVE-2024-5980


JSON object : View

Products Affected

lightningai

  • pytorch_lightning
CWE

No CWE.