Ludwig framework is vulnerable to insecure deserialization in its model serving component
The Ludwig framework thru 0.10.4 is vulnerable to insecure deserialization (CWE-502) in its model serving component. When starting a model server with the ludwig serve command, the framework loads model weight files using torch.load() without enabling the security-restrictive weights_only=True parameter. This default behavior allows the deserialization of arbitrary Python objects via the pickle module. An attacker can exploit this by providing a maliciously crafted PyTorch model file, leading to arbitrary code execution on the system hosting the Ludwig model server.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | ludwig | <= 0.10.4 | sin corrección |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2026-31238
- https://github.com/ludwig-ai/ludwig
- https://www.notion.so/CVE-2026-31238-35d1e1393188819ea77ee98ca85a2878
- https://pypi.org/project/ludwig
- https://github.com/advisories/GHSA-xp5q-5q7g-q26r
- https://github.com/pypa/advisory-database/tree/main/vulns/ludwig/PYSEC-2026-405.yaml
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Debilidad (CWE)
CWE-502- Plataforma
- Python (PyPI)
- Paquete
ludwig- Publicada
- 12.05.2026
- Actualizado
- 16.11.2026 18:17
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-405 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-xp5q-5q7g-q26r - CC BY 4.0
Historial de vulnerabilidades: ludwig
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 2
- Primera → última
- 05.2026 05.2026
- Sin corrección
- 2
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 2
Divulgaciones por año
- 2026: 2
-
Ludwig framework is vulnerable to insecure deserialization in its model serving component esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.