{"id":"CVE-2026-31238","aliases":["CVE-2026-31238","GHSA-xp5q-5q7g-q26r","PYSEC-2026-405"],"related":[],"kind":"vulnerability","state":"published","title":"Ludwig framework is vulnerable to insecure deserialization in its model serving component","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-05-12T00:00:00.000Z","modified":"2026-11-16T15:30:03.455Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.10.4"}],"ecosystem":"PyPI","package":"ludwig","purl":"pkg:pypi/ludwig","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.10.4"}],"ecosystem":"PyPI","package":"ludwig","purl":"pkg:pypi/ludwig","source":"pysec"}],"references":[{"url":"https://github.com/ludwig-ai/ludwig","tags":["package"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.notion.so/CVE-2026-31238-35d1e1393188819ea77ee98ca85a2878","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31238","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ludwig/PYSEC-2026-405.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/ludwig","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-xp5q-5q7g-q26r","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-14T16:55:32.977Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31238","url":"https://www.cve.org/CVERecord?id=CVE-2026-31238","licence":"CVE Terms of Use","modified":"2026-05-14T19:54:20.630Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xp5q-5q7g-q26r","url":"https://github.com/advisories/GHSA-xp5q-5q7g-q26r","licence":"CC-BY-4.0","modified":"2026-11-16T15:30:03.455Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31238","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31238","licence":"Public domain","modified":"2026-06-17T10:33:29.700Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-405","url":"https://osv.dev/vulnerability/PYSEC-2026-405","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:56.823Z"}],"updatedAt":"2026-11-25T22:59:21.389Z","epss":{"score":0.00497,"percentile":0.442,"date":"2026-12-01T12:00:22.000Z"}}