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

Wed, 30 Jul 2025 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Lightningai
Lightningai pytorch Lightning
CPEs cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:*
Vendors & Products Lightningai
Lightningai pytorch Lightning
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published: 2024-06-27T18:46:39.213Z

Updated: 2024-08-01T21:25:03.173Z

Reserved: 2024-06-13T17:47:39.581Z

Link: CVE-2024-5980

cve-icon Vulnrichment

Updated: 2024-08-01T21:25:03.173Z

cve-icon NVD

Status : Analyzed

Published: 2024-06-27T19:15:18.803

Modified: 2025-07-30T17:53:28.517

Link: CVE-2024-5980

cve-icon Redhat

No data.