CVE-2026-31221Lightningai Pytorch Lightning
Alta 7.8
- Prioridad
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 12 may 2026
- Actualizada
- 8 nov 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-502
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Qué pasa
PyTorch-Lightning versions 2.6.0 and earlier contain an insecure deserialization vulnerability (CWE-502) in the checkpoint loading mechanism. The LightningModule.load_from_checkpoint() method, which is commonly used to load saved model states, internally calls torch.load() without setting the security-restrictive weights_only=True parameter. This default behavior allows the deserialization of arbitrary Python objects via the Pickle module. A remote attacker can exploit this by providing a maliciously crafted checkpoint file, leading to arbitrary code execution on the victim's system when the file is loaded.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Pytorch Lightning.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | lightning |
≤ 2.6.0 |
sin versión corregida | — |
| PyPI | pytorch-lightning |
≤ 2.6.0 |
sin versión corregida | — |
| PyPI | pytorch-lightning |
≤ 2.6.0 |
sin versión corregida | — |
Según OSV / GitHub Advisories (PYSEC-2026-3972, GHSA-75m9-98v2-hjpm, PYSEC-2026-3043). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| lightningai | pytorch_lightning | ≤ 2.6.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Product
- www.notion.so Exploit Third Party Advisory