PYTORCH-LIGHTNING · CVE-2026-44484 · Package
NO FIX YET · SEE WHAT TO DO
Versions 2.6.2 and 2.6.3 of the pytorch-lightning package on PyPI were published with malicious code that the maintainer describes as consistent with credential harvesting. An attacker who gets this code installed can take API keys, tokens, SSH keys and service account credentials from the machine.
first public Apr 30, 2026 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Any environment that installed pytorch-lightning 2.6.2 or 2.6.3 may have run the malicious code, including developer machines, CI runners and training servers. Projects pinned to 2.6.1 or earlier, or that never installed the affected versions, are not indicated as exposed. The maintainer says the full set of affected versions is still being confirmed, so the advisory may change.
Not affected if pinned-before-2.6.2
Who cares ci, pypi, python, pytorch-lightning
pip show pytorch-lightning and look for version 2.6.2 or 2.6.3Published: 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.
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.
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.
If you have installed or are running any potentially affected versions:
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
pytorch-lightning==2.6.2 or pytorch-lightning==2.6.32.6.1, which the maintainer recommends; the malicious versions were quarantined from PyPI2.6.12.6.1: https://github.com/Lightning-AI/pytorch-lightning/releases/tag/2.6.1We are actively working to:
We will provide updates as soon as more information becomes available.
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.
If you have questions or believe you may be impacted, please contact us at:
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.