AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

pytorch-lightningPYSEC-2026-3975

pytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpoint

pytorch-lightning

CVE-2024-5980 · Published Sep 10, 2026

Critical9.1
Fix: upgrade to 2.3.3 or later
Source advisory

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.

Affected versions

PackageAffectedFixed in
pytorch-lightning
PyPI
< 2.3.32.3.3
Details and references

More pytorch-lightning advisories

All pytorch-lightning