CVE-2026-58659 PyTorch Lightning Arbitrary Code Execution via _instantiator Hyperparameter
설명
PyTorch Lightning through 2.6.5, fixed in commit d710d68, contains a remote code execution vulnerability in the _load_state function that imports and executes attacker-controlled module names from checkpoint _instantiator hyperparameters. Attackers can craft malicious checkpoint files that bypass weights_only=True protections to execute arbitrary code when LightningModule.load_from_checkpoint is called.
영향 받는 제품 제품 1개
-
Lightning-AI
pytorch-lightning
영향 받는 버전
- 2.6.5 이하
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
PyPI · lightning
영향 받는 버전 · 해결 버전
- 영향 2.6.6 미만 · 해결 2.6.6 이상
출처: GitHub Advisory Database · CC-BY 4.0
참고 자료 4건
- github.com https://github.com/Lightning-AI/pytorch-lightning/commit/d710d689510d50e800f53b3cd773cbca20b1f86f (새 창)
- github.com https://github.com/Lightning-AI/pytorch-lightning/issues/21822 (새 창)
- github.com https://github.com/Lightning-AI/pytorch-lightning/pull/21832 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/pytorch-lightning-arbitrary-code-execution-via-instantiator-hyperparameter (새 창)