ZeroDay Brief
CVE-2024-8019

In lightning-ai/pytorch-lightning version 2.3.2, a vulnerability exists in the `LightningApp` when running on a Windows host.

CVSS
9.1Critical
Chance of exploitation (EPSS)
1.1%
Published
Mar 20, 2025
In the news
Not yet
Vendor advisory More from this vendor

What to do

A critical unsafe file upload flaw in Lightningai Pytorch Lightning that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.

Action: Apply the vendor's update or follow its advisory.

Fixed in: 2.3.3

Affected versions
Lightning-ai Pytorch-lightning
Before 2.3.3
Lightningai Pytorch-lightning
Before 2.3.3

Description

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.

CWE-434

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2024-8019 published (CVSS 9.1) (Mar 20, 2025)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Thu, Mar 20, 2025

  1. CVECVE-2024-8019 published (CVSS 9.1)CVE Program · 10:15 UTC

References 2

  • github.com Patch /lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a
  • huntr.com Exploit /bounties/2754298b-5af5-48ef-8b38-999093ddf2bd

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”