{"id":"CVE-2026-31238","aliases":["EUVD-2026-29561","GHSA-xp5q-5q7g-q26r","PYSEC-2026-405"],"status":"published","title":"Ludwig framework is vulnerable to insecure deserialization in its model serving component","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00497,"percentile":0.43076,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-502"],"published":"2026-05-12T00:00:00Z","modified":"2026-07-01T20:22:56Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"ludwig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.10.4"}]}]},{"source":"osv","ecosystem":"PyPI","package":"ludwig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.10.4"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.10.0","0.10.1","0.10.2","0.10.3","0.10.4","0.2","0.2.1","0.2.2","0.2.2.2","0.2.2.3","0.2.2.4","0.2.2.5","0.2.2.6","0.2.2.7","0.2.2.8","0.3","0.3.1","0.3.2","0.3.3","0.4","0.4.1","0.4rc1","0.5","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5rc1","0.5rc2","0.6","0.6.1","0.6.2","0.6.3","0.6.4","0.7","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.8","0.8.1","0.8.1.post1","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.9","0.9.1","0.9.2","0.9.3"]},{"source":"osv","ecosystem":"PyPI","package":"ludwig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.10.4"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.10.0","0.10.1","0.10.2","0.10.3","0.10.4","0.2","0.2.1","0.2.2","0.2.2.2","0.2.2.3","0.2.2.4","0.2.2.5","0.2.2.6","0.2.2.7","0.2.2.8","0.3","0.3.1","0.3.2","0.3.3","0.4","0.4.1","0.4rc1","0.5","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5rc1","0.5rc2","0.6","0.6.1","0.6.2","0.6.3","0.6.4","0.7","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.8","0.8.1","0.8.1.post1","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.9","0.9.1","0.9.2","0.9.3"]}],"references":[{"url":"https://github.com/ludwig-ai/ludwig","tags":["package"]},{"url":"https://www.notion.so/CVE-2026-31238-35d1e1393188819ea77ee98ca85a2878","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31238","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-xp5q-5q7g-q26r","tags":["advisory"]},{"url":"https://pypi.org/project/ludwig","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-31238","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.","status":"published","published":"2026-05-12T00:00:00Z","modified":"2026-05-14T19:54:20.63Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:19:50.92611Z"}],"euvd":[{"id":"EUVD-2026-29561","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.","status":"published","published":"2026-05-12T00:00:00Z","modified":"2026-05-14T19:54:20Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T19:04:30.595644Z"}],"ghsa":[{"id":"GHSA-xp5q-5q7g-q26r","title":"Ludwig framework is vulnerable to insecure deserialization in its model serving component","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.","status":"published","published":"2026-05-12T18:30:41Z","modified":"2026-05-27T22:17:16Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:40:14.666177Z"}],"nvd":[{"id":"CVE-2026-31238","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.","status":"published","published":"2026-05-12T18:16:52.21Z","modified":"2026-06-17T10:33:29.7Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:12:18.613259Z"}],"osv":[{"id":"GHSA-xp5q-5q7g-q26r","title":"Ludwig framework is vulnerable to insecure deserialization in its model serving component","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.","status":"published","published":"2026-05-12T18:30:41Z","modified":"2026-06-29T12:26:04.134976492Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T15:47:00.198893Z"},{"id":"PYSEC-2026-405","title":"Ludwig framework is vulnerable to insecure deserialization in its model serving component","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.","status":"published","published":"2026-06-29T11:50:48.925693Z","modified":"2026-07-01T20:22:56.823984Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:57.255153Z"}]}}
