Code Injection in pytorchlightning/pytorch-lightning
Priority MEDIUM 44CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
Code Injection in GitHub repository pytorchlightning/pytorch-lightning prior to 1.6.0.
Why it matters now
EPSS 0.01008 63rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed pytorchlightning/pytorch-lightning (pytorchlightning): 1.6.0pytorch-lightning (PyPI): 1.6.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pytorchlightning | pytorchlightning/pytorch-lightning | before 1.6.0 | 1.6.0 | Patch available | CNA |
| — | pytorch-lightning (PyPI) | before 1.6.0 | 1.6.0 | Patch available | GHSA-r5qj-cvf9-p85h |
- pytorchlightning/pytorch-lightning Vendorpytorchlightning Affected before 1.6.0 Fixed in 1.6.0 Patch available CNA
- pytorch-lightning (PyPI) Vendor— Affected before 1.6.0 Fixed in 1.6.0 Patch available GHSA-r5qj-cvf9-p85h
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:* | before 1.6.0 | Vulnerable | lightning-ai |
- cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:* Versions before 1.6.0 Vulnerable ·lightning-ai
Remediation
- Fix · CNA pytorchlightning/pytorch-lightning (pytorchlightning) Fixed in 1.6.0
- Fix · GHSA-r5qj-cvf9-p85h pytorch-lightning (PyPI) Fixed in 1.6.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-0845
- 2026-10-03 Alias added: GHSA-r5qj-cvf9-p85h
References
Advisory 2
More lightning-ai Pytorch Lightning vulnerabilities
- TI-2024-05067 RCE via Property/Class Pollution in lightning-ai/pytorch-lightning CVSS 3.1CRITICAL 9.8
- TI-2024-05541 Arbitrary File Write via /v1/runs API endpoint in lightning-ai/pytorch-lightning CVSS 3.1CRITICAL 9.8
- TI-2024-07433 Arbitrary File Write/Overwrite in lightning-ai/pytorch-lightning CVSS 3.1CRITICAL 9.1
- TI-2026-42224 PyTorch Lightning Arbitrary Code Execution via _instantiator Hyperparameter CVSS 4.0HIGH 8.4
- TI-2024-07434 Denial of Service in lightning-ai/pytorch-lightning CVSS 3.0HIGH 7.5
- TI-2026-32421 Compromise of PyTorch Lightning PyPi Package Versions CVSS 4.0CRITICAL 9.3
Sources
- CVE-2022-0845 · CVE Program
- CVE-2022-0845 · NVD
- FIRST EPSS
- GHSA-r5qj-cvf9-p85h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences