lightning
Affected
- introduced
2.6.2, fixed2.6.4(ecosystem)
Fixed versions
2.6.4
Fix
- Fixed version
2.6.4pip install --upgrade lightning==2.6.4
Advisory
Also known as: CVE-2026-44484, GHSA-w37p-236h-pfx3, PYSEC-2026-508
Compromise of PyTorch Lightning PyPi Package Versions
Security Advisory: Compromise of PyTorch Lightning PyPI Package Versions
Published: 2026-04-30
Last Updated: 2026-05-12
Github Advisory: CVE-2026-44484
We have identified a security incident affecting certain versions of one of our PyPI packages.
## What happened
We have determined that one or more released versions of this package have been compromised and include malicious code.
Our current investigation indicates that the affected versions have introduced functionality consistent with a credential harvesting mechanism. We are still actively analysing the scope and behaviour of the code.
At this stage, the root cause of the compromise is still under investigation.
What versions are affected
We are currently working to confirm the exact set of impacted versions.
We have determined the following versions as affected and ask that you delete them from your systems:
2.6.22.6.3We will update this advisory if the versions impacted by this vulnerability change.
What you should do immediately
If you have installed or are running any potentially affected versions:
2.6.1 Actions we have taken
2.6.1: https://github.com/Lightning-AI/pytorch-lightning/releases/tag/2.6.1 Ongoing investigation
We are actively working to:
We will provide updates as soon as more information becomes available.
Commitment to transparency
We take the security of our users and the integrity of our software supply chain extremely seriously.
We will continue to share timely and accurate updates as our investigation progresses.
Contact
If you have questions or believe you may be impacted, please contact us at:
Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2.6.2, fixed 2.6.4 (ecosystem)2.6.4
2.6.4pip install --upgrade lightning==2.6.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0