CVE-2024-5980 - CVE House
Back to Database
Status published Critical CVE-2024-5980

Arbitrary File Write via /v1/runs API endpoint in lightning-ai/pytorch-lightning

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-5980

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

lightning-ai

View all reports →

Affected Software

lightning-ai/pytorch-lightning
Vulnerable Versions:
unspecified

Timeline

Official Publish: June 27th, 2024
Last Modified: October 21st, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Weaknesses (CWE)