Advisory record · GHSA-mr7h-w2qc-ffc2

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

CVSS 9.1 CriticalCriticalEPSS 0.013 · 71st percentile

Critical, because:

  • CVSS score 9.1: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 27 Jun 2024, 21:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
lightningPyPI<2.3.32.3.3
pytorch-lightningPyPI<2.3.32.3.3
Identifiers
GHSA-mr7h-w2qc-ffc2 · CVE-2024-5980 · PYSEC-2026-386 · PYSEC-2026-3975
Weakness (CWE)
CWE-22 · CWE-434
Published
27 Jun 2024
Updated
16 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The lightning package (PyPI) versions before 2.3.3 are vulnerable. An attacker who can reach the /v1/runs API endpoint while LightningApp runs with the plugin_server can deploy a crafted tar.gz plugin that uses path traversal during extraction, writing arbitrary files to any directory on the victim's file system and potentially achieving remote code execution. Upgrade lightning to version 2.3.3 or later. The source gives few details on the exact conditions required for exploitation.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.1 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.013, the 71st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 27 Jun 2024, 21:32 UTC Confirmed by GitHub Advisory Database
  2. 31 Oct 2026, 14:10 UTC First seen by agentprime
  3. 31 Oct 2026, 14:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.