CVE-2024-8019

Source
https://cve.org/CVERecord?id=CVE-2024-8019
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8019.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-8019
Aliases
Downstream
Published
2025-03-20T10:08:48Z
Modified
2026-10-21T02:30:15Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Arbitrary File Write/Overwrite in lightning-ai/pytorch-lightning
Details

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.

Database specific
{
    "cna_assigner":  "@huntr_ai",
    "cwe_ids":  [
        "CWE-434"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8019.json"
}
References

Affected packages

Git / github.com/lightning-ai/pytorch-lightning

Affected ranges

Type
GIT
Repo
https://github.com/lightning-ai/pytorch-lightning
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:lightningai:pytorch_lightning:2.3.2:*:*:*:*:python:*:*",
            "range":  [
                {
                    "introduced":  "2.3.2"
                },
                {
                    "last_affected":  "2.3.2"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "range":  [
                {
                    "fixed":  "330af381de88cff17515418a341cbc1f9f127f9a"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

2.*
2.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8019.json"