CVE-2022-0845
highpriority · track · 39EPSS 0.010 · 63 %ileEUUSEPSS · scored 2026-10-27
Code Injection in GitHub repository pytorchlightning/pytorch-lightning prior to 1.6.0.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.3–10
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-r5qj-cvf9-p85hCode Injection in PyTorch Lightning2022-03-06ghsa · osvUS
PyTorch Lightning version 1.5.10 and prior is vulnerable to code injection. An attacker could execute commands on the target OS running the operating system by setting the `PL_TRAINER_GPUS` when using the `Trainer` module. A [patch](https://github.com/pytorchlightning/pytorch-lightning/commit/8b7a12c52e52a06408e9231647839ddb4665e8ae) is included in the `1.6.0` release.
- PYSEC-2022-1812022-03-05vendor · osvUS
Code Injection in GitHub repository pytorchlightning/pytorch-lightning prior to 1.6.0.
- PYSEC-2026-39692026-09-10vendor · osvUS
Code Injection in GitHub repository pytorchlightning/pytorch-lightning prior to 1.6.0.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-0845/cnnvd
- https://github.com/pytorchlightning/pytorch-lightning/commit/8b7a12c52e52a06408e9231647839ddb4665e8aecnnvd
- https://huntr.dev/bounties/a795bf93-c91e-4c79-aae8-f7d8bda92e2acnnvd
- https://github.com/pytorchlightning/pytorch-lightning/commit/8b7a12c52e52a06408e9231647839ddb4665e8aeenisa_euvd
- https://huntr.dev/bounties/a795bf93-c91e-4c79-aae8-f7d8bda92e2aenisa_euvd
- https://github.com/pytorchlightning/pytorch-lightning/commit/8b7a12c52e52a06408e9231647839ddb4665e8aePatchThird Party Advisorynvd
- https://huntr.dev/bounties/a795bf93-c91e-4c79-aae8-f7d8bda92e2aExploitIssue TrackingPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan