Live threats

All CVEs / Lightningai

CVE-2022-0845Lightningai Pytorch Lightning

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Mar 5, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Code Injection in GitHub repository pytorchlightning/pytorch-lightning prior to 1.6.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pytorch Lightning.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

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-3969, GHSA-r5qj-cvf9-p85h, PYSEC-2022-181). 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.