CVE-2026-31238

GHSA-xp5q-5q7g-q26r · published 12 May 2026 · updated 16 Nov 2026

Ludwig framework is vulnerable to insecure deserialization in its model serving component

9.8CriticalCVSS 9.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pypi: ludwig<=0.10.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in ludwig (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31238 severity on Zeptric[![CVE-2026-31238](https://zeptric.io/badge/cve/CVE-2026-31238.svg)](https://zeptric.io/cve/CVE-2026-31238)