Advisory

PYSEC-2026-1857

Also known as: CVE-2024-8020, GHSA-98fp-7v67-4v3q, PYSEC-2026-3971

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-09-10 17:25 UTC

Affected packages and fixes

pytorch-lightning

PyPI · All systems

Affected

  • introduced 0, last affected 2.3.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences