Live threats

All CVEs / Lightningai

CVE-2021-4118Lightningai Pytorch Lightning

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
Yes
Published
Dec 23, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

pytorch-lightning is vulnerable to Deserialization of Untrusted Data

Original NVD text.

What to do

  1. Apply the vendor's security update for Pytorch Lightning.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI lightning < 1.6.0 1.6.0 pip install "lightning>=1.6.0"
PyPI pytorch-lightning < 1.6.0 1.6.0 pip install "pytorch-lightning>=1.6.0"
PyPI pytorch-lightning < 1.6.0 1.6.0 pip install "pytorch-lightning>=1.6.0"

Per OSV / GitHub Advisories (PYSEC-2026-3968, GHSA-2vj5-px25-gjrp, PYSEC-2021-874). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lightningaipytorch_lightning< 1.6.0

Official sources

References

Links published by the sources. Open them with care.