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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | lightning | < 2.3.3 | 2.3.3 |
| Python (PyPI) | pytorch-lightning | < 2.3.3 | 2.3.3 |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2024-5980
- https://github.com/Lightning-AI/pytorch-lightning/pull/20039
- https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a
- https://github.com/Lightning-AI/pytorch-lightning/releases/tag/2.3.3
- https://github.com/lightning-ai/pytorch-lightning
- https://huntr.com/bounties/55a6ac6f-89c7-42ea-86f3-c6e93a2679f3
- https://pypi.org/project/lightning
- https://github.com/advisories/GHSA-mr7h-w2qc-ffc2
- Vector CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H- Debilidad (CWE)
CWE-22, CWE-434- Plataforma
- Python (PyPI)
- Paquete
lightning, pytorch-lightning- Publicada
- 27.06.2024
- Actualizado
- 11.10.2026 15:18
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-386 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-mr7h-w2qc-ffc2 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-3975 - PyPA Advisory Database; CC BY 4.0
Historial de vulnerabilidades: lightning
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 9
- Primera → última
- 12.2021 07.2026
- Sin corrección
- 2
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 5
- Alta 4
Divulgaciones por año
- 2021: 1
- 2022: 1
- 2023: 0
- 2024: 2
- 2025: 2
- 2026: 3
-
pytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpoint esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.