TROYANOSYVIRUS
Back to CVEs

CVE-2024-5980

CRITICAL
9.8

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.

CVE Details

CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published6/27/2024
Last Modified10/15/2025
Sourcenvd
Honeypot Sightings0

Affected Products

lightningai:pytorch_lightning

Weaknesses (CWE)

CWE-22

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.