← Back to CVEs
CVE-2024-5980
CRITICAL9.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
References
https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a(security@huntr.dev)
https://huntr.com/bounties/55a6ac6f-89c7-42ea-86f3-c6e93a2679f3(security@huntr.dev)
https://huntr.com/bounties/55a6ac6f-89c7-42ea-86f3-c6e93a2679f3(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.