# CVE-2024-8020: Denial of Service in lightning-ai/pytorch-lightning

> CVE-2024-8020: Denial of Service in lightning-ai/pytorch-lightning. CVSS 7.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2024-8020
Last updated: 2026-06-17T08:21:42Z

- Published: 2025-03-20 10:09 UTC · Updated: 2026-06-17 08:21 UTC · Assigner: @huntr\_ai
- CVSS: 7.5 (CVSS 3.1) · Severity: High · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.64%, 50th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-248

## Description

A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sending an unexpected POST request to the \`/api/v1/state\` endpoint of \`LightningApp\`. This issue occurs due to improper handling of unexpected state values, which results in the server shutting down.

## Affected vendors and products

- lightning-ai: lightning-ai/pytorch-lightning

## Tracked companies

- [Lightning AI](https://rewindex.com/company/lightning-ai.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-8020)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2024-8020)
- [https://huntr.com/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a](https://huntr.com/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2024-8020 · Markdown: https://rewindex.com/cve/CVE-2024-8020.md · JSON: https://rewindex.com/api/v1/cves/CVE-2024-8020 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:09:57.977Z
