Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-8020Denial of Service in lightning-ai/pytorch-lightning
High 7.5
In plain English
A high-severity security flaw in lightning-ai/pytorch-lightning from lightning-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities).
Severity (CVSS 3.0)7.5High
Exploit odds (30 days)0.6%top 49.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | lightning | no fix listed | PYSEC-2026-3971 |
| PyPI | pytorch-lightning | no fix listed | GHSA-98fp-7v67-4v3q |
| PyPI | pytorch-lightning | no fix listed | PYSEC-2026-1857 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| lightning-ai | lightning-ai/pytorch-lightning | unspecified – through latest |
Weakness: CWE-248 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H