lightning
Affected
- introduced
0, fixed2.3.3(ecosystem)
Fixed versions
2.3.3
Fix
- Fixed version
2.3.3pip install --upgrade lightning==2.3.3
Advisory
Also known as: CVE-2024-5980, PYSEC-2026-386, PYSEC-2026-3975
pytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpoint
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 2.3.3 (ecosystem)2.3.3
2.3.3pip install --upgrade lightning==2.3.30, fixed 2.3.3 (ecosystem)2.3.3
2.3.3pip install --upgrade pytorch-lightning==2.3.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0