{"cve":"CVE-2024-8019","nvd":{"published":"2025-03-20T10:15:39.010","modified":"2026-06-17T08:21:41.987","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1},"cwes":["CWE-434"],"references":["https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a","https://huntr.com/bounties/2754298b-5af5-48ef-8b38-999093ddf2bd"],"products":["lightningai:pytorch_lightning"],"source":"nvd","synced_at":"2026-10-19T22:00:17.429720821+00:00"},"epss":{"cve":"CVE-2024-8019","score":0.01122,"percentile":0.66222,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4cv3-v7pv-rfhf","url":"https://osv.dev/vulnerability/GHSA-4cv3-v7pv-rfhf","summary":"PyTorch Lightning path traversal vulnerability","modified":"2026-09-10T17:25:45.422789003Z","packages":[{"ecosystem":"PyPI","name":"pytorch-lightning","purl":"pkg:pypi/pytorch-lightning","ranges":["<2.4.0"],"fixed":["2.4.0"]}]},{"id":"PYSEC-2026-3970","url":"https://osv.dev/vulnerability/PYSEC-2026-3970","summary":"PyTorch Lightning path traversal vulnerability","modified":"2026-09-10T17:25:45.422789003Z","packages":[{"ecosystem":"PyPI","name":"lightning","purl":"pkg:pypi/lightning","ranges":["<2.4.0"],"fixed":["2.4.0"]}]},{"id":"PYSEC-2026-507","url":"https://osv.dev/vulnerability/PYSEC-2026-507","summary":"PyTorch Lightning path traversal vulnerability","modified":"2026-09-10T17:25:45.422789003Z","packages":[{"ecosystem":"PyPI","name":"pytorch-lightning","purl":"pkg:pypi/pytorch-lightning","ranges":["<2.4.0"],"fixed":["2.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}