PYSEC-2026-1857
Dashboard / Vulnerabilities / PYSEC-2026-1857
PYSEC-2026-1857
Summary: PyTorch Lightning denial of service vulnerability
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2024-8020, https://github.com/Lightning-AI/pytorch-lightning, https://huntr.com/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a, https://pypi.org/project/pytorch-lightning, https://github.com/advisories/GHSA-98fp-7v67-4v3q
Affected packages
Package
Name: pytorch-lightning
Purl: pkg:pypi/pytorch-lightning
Affected ranges
Type: ECOSYSTEM
Events:
