CVE-2022-0845Lightningai Pytorch Lightning
Critical 9.8 No auth needed
Follow: this CVE · Lightningai · Lightningai Pytorch Lightning We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Pytorch Lightning.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| lightningai | pytorch_lightning | < 1.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Issue Tracking Patch