Skip to main content
← All vulnerabilities
CVE-2024-8019PYSEC-2026-507GHSA-4CV3-V7PV-RFHFPYSEC-2026-3970

Arbitrary File Write/Overwrite in lightning-ai/pytorch-lightning

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.3, 2.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

In lightning-ai/pytorch-lightning version 2.3.2, a vulnerability exists in the `LightningApp` when running on a Windows host. The vulnerability occurs at the `/api/v1/upload_file/` endpoint, allowing an attacker to write or overwrite arbitrary files by providing a crafted filename. This can lead to potential remote code execution (RCE) by overwriting critical files or placing malicious files in sensitive locations.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • lightning-ai lightning-ai/pytorch-lightning

    fixed in 2.3.3

  • pytorch-lightningPyPI

    fixed in 2.4.0

  • lightningPyPI

    fixed in 2.4.0

References 2

huntr.com

GitHub · lightning-ai/pytorch-lightning