CVE-2026-31238
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.50% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-xp5q-5q7g-q26rPYSEC-2026-405

Description

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
ludwig (PyPI)up to 0.10.4GitHub Advisory Database, PyPA Advisory Database

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31238 changed 2026-05-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-xp5q-5q7g-q26r changed 2026-11-16CC-BY-4.0
NVDCVE-2026-31238 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-405 changed 2026-07-01CC-BY-4.0