PyTorch Lightning PyPI Package Compromised
An early warning indicates that PyTorch Lightning PyPI package versions 2.6.2 and 2.6.3 may have been compromised and contain malicious code. Users of these versions are advised to take immediate action.
What happened
Reportedly, versions 2.6.2 and 2.6.3 of the PyTorch Lightning PyPI package have been compromised and include functionality consistent with a credential harvesting mechanism. This is under investigation and has been tracked with IDs CVE-2026-44484 and GHSA-W37P-236H-PFX3. To assess your exposure, check if your systems are using either of these affected versions. If so, it is recommended to rotate all credentials and secrets, rebuild affected systems from a known clean state, and pin PyTorch Lightning to version 2.6.1. For more details, consult the primary sources.
How 0Day mitigates this
pytorch-lightning is anywhere in your dependency tree, the engineers who own the affected repositories get a push alert the moment it is flagged — no manual audit to remember to run.Read how this differs from waiting on a scanner to catch a known advisory, or see the exact, read-only access 0Day needs to do this for an organization.