Security mailing lists by PureSourceCode

CVE-2024-8019

CRITICAL 9.1CVSS 3.1

PyTorch Lightning path traversal vulnerability

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.

Published
20 Mar 2025
Last modified
16 Nov 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-434
Also known as
GHSA-4cv3-v7pv-rfhfPYSEC-2026-3970PYSEC-2026-507
Sources
NVDJSONOSV GHSA-4cv3-v7pv-rfhfJSONOSV PYSEC-2026-3970JSONOSV PYSEC-2026-507JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 CRITICAL 9.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
OSV PyPA CVSS 3.0 CRITICAL 9.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD lightningai pytorch_lightning
cpe:2.3:a:lightningai:pytorch_lightning:2.3.2:*:*:*:*:python:*:*
= 2.3.2
OSV PyPI pytorch-lightning < 2.4.0 2.4.0
OSV PyPI lightning < 2.4.0 2.4.0

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.