Security mailing lists by PureSourceCode

CVE-2024-5980

CRITICAL 9.8CVSS 3.1

pytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpoint

A vulnerability in the /v1/runs API endpoint of lightning-ai/pytorch-lightning v2.2.4 allows attackers to exploit path traversal when extracting tar.gz files. When the LightningApp is running with the plugin_server, attackers can deploy malicious tar.gz plugins that embed arbitrary files with path traversal vulnerabilities. This can result in arbitrary files being written to any directory in the victim's local file system, potentially leading to remote code execution.

Published
27 Jun 2024
Last modified
16 Nov 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-22CWE-434
Also known as
GHSA-mr7h-w2qc-ffc2PYSEC-2026-386PYSEC-2026-3975
Sources
NVDJSONOSV GHSA-mr7h-w2qc-ffc2JSONOSV PYSEC-2026-386JSONOSV PYSEC-2026-3975JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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:*:*:*:*:*:python:*:*
>= 2.2.4, < 2.3.3 2.3.3
OSV PyPI lightning < 2.3.3 2.3.3
OSV PyPI pytorch-lightning < 2.3.3 2.3.3

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 27 Jun 2024)
  • 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 27 Jun 2024)
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.