# pytorch-lightning (PyPI) vulnerabilities

Source: https://junglewise.ai/threats/technologies/pytorch-lightning  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Updated: 13 November 2026, 03:07 UTC. Rebuilt every hour.  
Data: https://junglewise.ai/threats/technologies/pytorch-lightning.json  
License: CC BY 4.0 with a link back

Junglewise Threat Intelligence has tracked 9 vulnerabilities in pytorch-lightning (PyPI): 0 in the last 7 days and 5 in the last 90 days, 1 of them critical and 0 exploited in the wild. The most recent, CVE-2021-4118, was published on 10 September 2026. Nothing was published in the last eight weeks.

## Counts

- Last 7 days: 0
- Last 30 days: 0
- Last 90 days: 5
- All time: 9 (1 critical, 0 exploited in the wild)

## About pytorch-lightning (PyPI)

Python framework for building deep learning models with PyTorch, providing utilities for training and debugging.

## Latest pytorch-lightning (PyPI) vulnerabilities

- [CVE-2021-4118: PYSEC-2026-3968 - pytorch-lightning is vulnerable to Deserialization of Untrusted Data](https://junglewise.ai/threats/cve-2021-4118-pytorch-lightning-deserialization-of-untrusted-data) (low, CVSS 3.1, published 10 Sep 2026)
- [CVE-2024-8020: PYSEC-2026-3971 - PyTorch Lightning denial of service vulnerability](https://junglewise.ai/threats/cve-2024-8020-pytorch-lightning-denial-of-service-vulnerability) (low, CVSS 3, published 10 Sep 2026)
- [CVE-2022-0845: PyTorch Lightning code injection via eval()](https://junglewise.ai/threats/cve-2022-0845-code-injection-in-pytorch-lightning) (low, CVSS 3.1, published 10 Sep 2026)
- [CVE-2024-5980: PYSEC-2026-3975 - pytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpoint](https://junglewise.ai/threats/cve-2024-5980-pytorch-lightning-vulnerable-to-arbitrary-file-write-via-v1-runs) (low, CVSS 3, published 10 Sep 2026)
- [CVE-2024-5452: PYSEC-2026-3974 - Remote code execution in pytorch lightning](https://junglewise.ai/threats/cve-2024-5452-remote-code-execution-in-pytorch-lightning) (low, CVSS 3, published 10 Sep 2026)
- [CVE-2026-58659: PyTorch Lightning remote code execution in load_from_checkpoint](https://junglewise.ai/threats/cve-2026-58659-pytorch-lightning-remote-code-execution-in-load-from-checkpoint) (high, CVSS 7.8, published 15 Jul 2026)
- [CVE-2024-8019: PYSEC-2026-507 - PyTorch Lightning path traversal vulnerability](https://junglewise.ai/threats/cve-2024-8019-pytorch-lightning-path-traversal-vulnerability) (low, CVSS 3, published 29 Jun 2026)
- [CVE-2026-44484: PyTorch Lightning malicious code injection in PyPI packages](https://junglewise.ai/threats/cve-2026-44484-pytorch-lightning-malicious-code-injection-in-pypi-packages) (critical, CVSS 9.8, published 14 May 2026)
- [CVE-2026-31221: Lightning AI PyTorch Lightning insecure deserialization in checkpoint loading](https://junglewise.ai/threats/cve-2026-31221-lightning-ai-pytorch-lightning-insecure-deserialization-in) (high, CVSS 7.8, published 12 May 2026)

## Most severe pytorch-lightning (PyPI) vulnerabilities

- [CVE-2026-44484: PyTorch Lightning malicious code injection in PyPI packages](https://junglewise.ai/threats/cve-2026-44484-pytorch-lightning-malicious-code-injection-in-pypi-packages) (critical, CVSS 9.8, published 14 May 2026)
- [CVE-2026-58659: PyTorch Lightning remote code execution in load_from_checkpoint](https://junglewise.ai/threats/cve-2026-58659-pytorch-lightning-remote-code-execution-in-load-from-checkpoint) (high, CVSS 7.8, published 15 Jul 2026)
- [CVE-2026-31221: Lightning AI PyTorch Lightning insecure deserialization in checkpoint loading](https://junglewise.ai/threats/cve-2026-31221-lightning-ai-pytorch-lightning-insecure-deserialization-in) (high, CVSS 7.8, published 12 May 2026)
- [CVE-2021-4118: PYSEC-2026-3968 - pytorch-lightning is vulnerable to Deserialization of Untrusted Data](https://junglewise.ai/threats/cve-2021-4118-pytorch-lightning-deserialization-of-untrusted-data) (low, CVSS 3.1, published 10 Sep 2026)
- [CVE-2022-0845: PyTorch Lightning code injection via eval()](https://junglewise.ai/threats/cve-2022-0845-code-injection-in-pytorch-lightning) (low, CVSS 3.1, published 10 Sep 2026)
- [CVE-2024-5452: PYSEC-2026-3974 - Remote code execution in pytorch lightning](https://junglewise.ai/threats/cve-2024-5452-remote-code-execution-in-pytorch-lightning) (low, CVSS 3, published 10 Sep 2026)
- [CVE-2024-5980: PYSEC-2026-3975 - pytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpoint](https://junglewise.ai/threats/cve-2024-5980-pytorch-lightning-vulnerable-to-arbitrary-file-write-via-v1-runs) (low, CVSS 3, published 10 Sep 2026)
- [CVE-2024-8019: PYSEC-2026-507 - PyTorch Lightning path traversal vulnerability](https://junglewise.ai/threats/cve-2024-8019-pytorch-lightning-path-traversal-vulnerability) (low, CVSS 3, published 29 Jun 2026)
- [CVE-2024-8020: PYSEC-2026-3971 - PyTorch Lightning denial of service vulnerability](https://junglewise.ai/threats/cve-2024-8020-pytorch-lightning-denial-of-service-vulnerability) (low, CVSS 3, published 10 Sep 2026)

## Vulnerabilities per week

Nothing was published in the last eight weeks.

| Week of | Vulns | Critical | Exploited |
| --- | --- | --- | --- |
| 17 Aug 2026 | 0 | 0 | 0 |
| 24 Aug 2026 | 0 | 0 | 0 |
| 31 Aug 2026 | 0 | 0 | 0 |
| 7 Sep 2026 | 5 | 0 | 0 |
| 14 Sep 2026 | 0 | 0 | 0 |
| 21 Sep 2026 | 0 | 0 | 0 |
| 28 Sep 2026 | 0 | 0 | 0 |
| 5 Oct 2026 | 0 | 0 | 0 |
| 12 Oct 2026 | 0 | 0 | 0 |
| 19 Oct 2026 | 0 | 0 | 0 |
| 26 Oct 2026 | 0 | 0 | 0 |
| 2 Nov 2026 | 0 | 0 | 0 |
| 9 Nov 2026 | 0 | 0 | 0 |

## Other PyPI technologies

- [tensorflow (PyPI)](https://junglewise.ai/threats/technologies/pypi-tensorflow): 435 vulnerabilities
- [tensorflow-cpu (PyPI)](https://junglewise.ai/threats/technologies/tensorflow-cpu): 430 vulnerabilities
- [tensorflow-gpu (PyPI)](https://junglewise.ai/threats/technologies/tensorflow-gpu): 427 vulnerabilities
- [open-webui (PyPI)](https://junglewise.ai/threats/technologies/open-webui): 177 vulnerabilities
- [Django (PyPI)](https://junglewise.ai/threats/technologies/django): 173 vulnerabilities
- [apache-airflow (PyPI)](https://junglewise.ai/threats/technologies/apache-airflow): 159 vulnerabilities
- [pillow (PyPI)](https://junglewise.ai/threats/technologies/pillow): 125 vulnerabilities
- [praisonai (PyPI)](https://junglewise.ai/threats/technologies/pypi-praisonai): 120 vulnerabilities
- [vllm (PyPI)](https://junglewise.ai/threats/technologies/pypi-vllm): 117 vulnerabilities
- [plone (PyPI)](https://junglewise.ai/threats/technologies/pypi-plone): 101 vulnerabilities
- [mlflow (PyPI)](https://junglewise.ai/threats/technologies/mlflow): 88 vulnerabilities
- [picklescan (PyPI)](https://junglewise.ai/threats/technologies/picklescan): 86 vulnerabilities

## Sources

NVD, GitHub Security Advisories, OSV, the CISA Known Exploited Vulnerabilities catalog, FIRST EPSS and vendor advisories. Rebuilt every hour. Cite as: Junglewise Threat Intelligence, "pytorch-lightning (PyPI) vulnerabilities", https://junglewise.ai/threats/technologies/pytorch-lightning, 13 November 2026.
