Read the docs
TI-2022-00751 Aliases CVE-2022-0845GHSA-r5qj-cvf9-p85h

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

VendorProductAffected versionsFixed inStatusSource
pytorchlightningpytorchlightning/pytorch-lightningbefore 1.6.01.6.0Patch availableCNA
—pytorch-lightning (PyPI)before 1.6.01.6.0Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:*before 1.6.0Vulnerablelightning-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

  1. 2026-10-02 Threatist record created from CVE-2022-0845
  2. 2026-10-03 Alias added: GHSA-r5qj-cvf9-p85h

References

  • 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
See all 8 →

Sources