Compromise of PyTorch Lightning PyPi Package Versions
CVE-2026-44484 · GHSA-w37p-236h-pfx3 · published 2026-05-07 · updated 2026-11-16
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 0.39%
- Fixed in
- No fix yet
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Total
- CISA SSVC
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.
No fixed release is listed yet for pytorch-lightning. Follow the source advisory for updates, and until one ships:
General guidance from ShieldPi, not a vendor fix
- Compromised release. Move to a release the advisory names as clean, and rotate every credential, token and key the environment that ran the affected release could read.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| pytorch-lightning | PyPI | = 2.6.2 | No fix yet |
| pytorch-lightning | PyPI | = 2.6.3 | No fix yet |
- CriticalMalicious code in guardrails-ai 0.10.1 (supply chain compromise)guardrails-ai
- CriticalMalicious dropper in mistralai 2.4.6 PyPI packagemistralai
- CriticalTwo LiteLLM versions published containing credential harvesting malwarelitellm
- CriticalPyTorch Lightning path traversal vulnerabilitylightning, pytorch-lightning
- Criticalpytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpointlightning, pytorch-lightning
- CriticalRemote code execution in pytorch lightninglightning, pytorch-lightning
- CriticalCode Injection in PyTorch Lightningpytorch-lightning
- HighPyTorch Lightning load_from_checkpoint has an insecure checkpoint deserializationpytorch-lightning
- HighPyTorch Lightning denial of service vulnerabilitypytorch-lightning
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.