pytorch-lightning
4 advisories in the AI Sec Watch database name pytorch-lightning (PyPI). pytorch-lightning (PyPI) has declared an LLM component as a dependency since 2025-11-05. The most recent advisory that names pytorch-lightning and states a fix gives 1.6.0.
PyTorch Lightning is the lightweight PyTorch wrapper for ML researchers. Scale your models. Write less boilerplate.
The first release to declare it was version 2.6.0.dev0.
Advisories
Advisories that name pytorch-lightning as affected and state PyPI as its ecosystem. For a version-exact check of your own dependencies, use Stack Check.
Time to fix: a median of +60 days from disclosure to the release of the fixed version, over 2 advisories with a dated fix (fastest +23, slowest +96 days). A negative count means the fix was released before the advisory's disclosure date.
| Advisory | Severity | Affected | Fixed in | Fix released | Published |
|---|---|---|---|---|---|
| CVE-2026-44484PyTorch Lightning embedded malicious code that harvests credentials | Critical | = 2.6.2 | 2026-05-14 | ||
| CVE-2026-31221PyTorch-Lightning insecure deserialization in checkpoint loading | High | <= 2.6.0 | 2026-05-12 | ||
| CVE-2022-0845pytorch-lightning code injection in GitHub repository before 1.6.0 | Critical | < 1.6.0 | 1.6.0 | 2022-03-29 (+23 d) | 2022-03-06 |
| CVE-2021-4118pytorch-lightning deserialization of untrusted data | High | < 1.6.0 | 1.6.0 | 2022-03-29 (+96 d) | 2021-12-23 |
Dependencies of the latest release
As declared in PyPI metadata for version 2.6.6. Optional extras are listed with their extra name.
- bitsandbytes[extra]Hugging Face Hub / Transformers
- deepspeed[strategies]Hugging Face Hub / Transformers
- huggingface-hub[test]Hugging Face Hub / Transformers
- torchmetricsHugging Face Hub / Transformers
- cloudpickle[test]
- coverage[test]
- fastapi[test]
- fsspec
- hydra-core[extra]
- ipython[examples]
- jsonargparse[extra]
- lightning-utilities
- matplotlib[extra]
- numpy[test]
- omegaconf[extra]
- onnx[test]
- onnx-ir[test]
- onnxruntime[test]
- onnxscript[test]
- packaging
- pandas[test]
- psutil[test]
- pytest[test]
- pytest-cov[test]
- pytest-random-order[test]
- pytest-rerunfailures[test]
- pytest-timeout[test]
- pyyaml
- requests[examples]
- rich[extra]
- scikit-learn[test]
- tensorboard[test]
- tensorboardx[extra]
- tensorrt[test-gpu]
- torch
- torch-tensorrt[test-gpu]
- torchvision[examples]
- tqdm
- typing-extensions
- uvicorn[test]
Tracked packages that depend on it
Among the packages in the registry; not every dependent on PyPI.