{"id":"CVE-2026-31238","published":"2026-05-12T00:00:00Z","modified":"2026-05-14T19:54:20Z","title":"The Ludwig framework thru 0.10.4 is vulnerable to insecure deserialization (CWE-502) in its model serving component","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00725,"percentile":0.49952,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/ludwig-ai/ludwig","tags":[]},{"url":"https://www.notion.so/CVE-2026-31238-35d1e1393188819ea77ee98ca85a2878","tags":[]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":9.99},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-14T16:55:32.977878Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"ludwig","vulnerableRanges":["<=0.10.4"],"patched":[],"from":["GHSA-xp5q-5q7g-q26r","PYSEC-2026-405"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-29561","exploited":false,"provenance":"source"}}