Loading advisory.
Loading advisory.
Code Injection in PyTorch Lightning
PyTorch Lightning version 1.5.10 and prior is vulnerable to code injection. An attacker could execute commands on the target OS running the operating system by setting the PL_TRAINER_GPUS when using the Trainer module. A patch is included in the 1.6.0 release.
Published 2022-03-05 21:25 UTC · Modified 2026-09-10 17:26 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| pytorch-lightning | PyPI | < 1.6.0 git commits in https://github.com/pytorchlightning/pytorch-lightning: < 8b7a12c52e52a06408e9231647839ddb4665e8ae versions 0.0.2, 0.10.0, 0.2, 0.2.2, 0.2.3, 0.2.4, 0.2.4.1, 0.2.5, 0.2.5.1, 0.2.5.2, 0.2.6, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.4.1, 0.3.5, 0.3.6, 0.3.6.1 and 111 more | 1.6.0, 8b7a12c52e52a06408e9231647839ddb4665e8ae | pip install --upgrade 'pytorch-lightning>=1.6.0'pip install --upgrade 'pytorch-lightning>=8b7a12c52e52a06408e9231647839ddb4665e8ae' |
| lightning | PyPI | git commits in https://github.com/pytorchlightning/pytorch-lightning: < 8b7a12c52e52a06408e9231647839ddb4665e8ae < 1.6.0 versions 0.0.2, 0.10.0, 0.2, 0.2.2, 0.2.3, 0.2.4, 0.2.4.1, 0.2.5, 0.2.5.1, 0.2.5.2, 0.2.6, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.4.1, 0.3.5, 0.3.6, 0.3.6.1 and 122 more | 8b7a12c52e52a06408e9231647839ddb4665e8ae, 1.6.0 | pip install --upgrade 'lightning>=8b7a12c52e52a06408e9231647839ddb4665e8ae'pip install --upgrade 'lightning>=1.6.0' |
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.010 on 2026-11-24 to 0.010 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.010 | first score | v2026.06.15 |
| 2026-11-26 | 0.010 | 0.010 | v2026.06.15 |