PYSEC-2026-3971

    Dashboard / Vulnerabilities / PYSEC-2026-3971

    PYSEC-2026-3971

    Published: 10 Sept 2026Last Modified: 10 Sept 2026

    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.

    Affected packages

    Package

    Name: lightning

    Purl: pkg:pypi/lightning

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    0.0.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High