What’s Vulnerable › Vulnerabilities
CVE-2022-0845: Code Injection in pytorchlightning/pytorch-lightning
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-03-05 · updated 2026-06-17
- Weakness: CWE-94
Description
Code Injection in GitHub repository pytorchlightning/pytorch-lightning prior to 1.6.0.
Affected products
- lightning-ai/pytorch-lightning: before 1.6.0 — fixed in 1.6.0
How to fix
Upgrade to a fixed version: lightning-ai/pytorch-lightning 1.6.0. Check the vendor advisory for mitigations.
References
- https://github.com/pytorchlightning/pytorch-lightning/commit/8b7a12c52e52a06408e9231647839ddb4665e8ae
- https://huntr.dev/bounties/a795bf93-c91e-4c79-aae8-f7d8bda92e2a
- https://github.com/pytorchlightning/pytorch-lightning/commit/8b7a12c52e52a06408e9231647839ddb4665e8ae
- https://huntr.dev/bounties/a795bf93-c91e-4c79-aae8-f7d8bda92e2a
Get alerted when CVE-2022-0845 or the next vulnerability affects your stack