{"id":"CVE-2026-31238","aliases":["PYSEC-2026-405"],"url":"https://o3.security/vulnerability/CVE-2026-31238","summary":"Ludwig framework is vulnerable to insecure deserialization in its model serving component","details":"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.","published":"2026-05-12T18:30:41Z","modified":"2026-06-29T12:26:04.134976492Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.00497,"percentile":0.40258,"asOf":"2026-08-14"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"ludwig","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31238"},{"type":"PACKAGE","url":"https://github.com/ludwig-ai/ludwig"},{"type":"WEB","url":"https://www.notion.so/CVE-2026-31238-35d1e1393188819ea77ee98ca85a2878"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-06-29T12:26:04.134976492Z"}}