Deserialization of Untrusted Data in pytorchlightning/pytorch-lightning
Priority LOW 36CWE-502Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- 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-502.
Summary
pytorch-lightning is vulnerable to Deserialization of Untrusted Data
Why it matters now
EPSS 0.01019 63rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed pytorchlightning/pytorch-lightning (pytorchlightning): 1.6pytorch-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 | 1.6 | Patch available | CNA |
| — | pytorch-lightning (PyPI) | before 1.6.0 | 1.6.0 | Patch available | GHSA-2vj5-px25-gjrp |
- pytorchlightning/pytorch-lightning Vendorpytorchlightning Affected before 1.6 Fixed in 1.6 Patch available CNA
- pytorch-lightning (PyPI) Vendor— Affected before 1.6.0 Fixed in 1.6.0 Patch available GHSA-2vj5-px25-gjrp
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
- Fix · GHSA-2vj5-px25-gjrp pytorch-lightning (PyPI) Fixed in 1.6.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-4118
- 2026-10-03 Alias added: GHSA-2vj5-px25-gjrp
References
Advisory 2
Other 5
- https://github.com/PyTorchLightning/pytorch-lightning/issues/11045
- https://github.com/PyTorchLightning/pytorch-lightning/pull/11099
- https://github.com/PyTorchLightning/pytorch-lightning/releases/tag/1.6.0
- https://github.com/pypa/advisory-database/tree/main/vulns/pytorch-lightning/PYSEC-2021-874.yaml
- https://github.com/pytorchlightning/pytorch-lightning
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-2021-4118 · CVE Program
- CVE-2021-4118 · NVD
- FIRST EPSS
- GHSA-2vj5-px25-gjrp · 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