{"id":"CVE-2026-31237","aliases":["CVE-2026-31237","GHSA-wcr3-gm9f-f87q","PYSEC-2026-404"],"related":[],"kind":"vulnerability","state":"published","title":"Ludwig framework is vulnerable to insecure deserialization through its predict() method.","summary":"The Ludwig framework thru 0.10.4 is vulnerable to insecure deserialization (CWE-502) through its predict() method. When a user provides a dataset file path to the predict() method, the framework automatically determines the file format. If the file is a pickle (.pkl) file, it is loaded using pandas.read_pickle() without any validation or security restrictions. This allows the deserialization of arbitrary Python objects via the unsafe pickle module. A remote attacker can exploit this by providing a maliciously crafted pickle file, leading to arbitrary code execution on the system running the Ludwig prediction.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Ludwig framework thru 0.10.4 is vulnerable to insecure deserialization (CWE-502) through its predict() method. When a user provides a dataset file path to the predict() method, the framework automatically determines the file format. If the file is a pickle (.pkl) file, it is loaded using pandas.read_pickle() without any validation or security restrictions. This allows the deserialization of arbitrary Python objects via the unsafe pickle module. A remote attacker can exploit this by providing a maliciously crafted pickle file, leading to arbitrary code execution on the system running the Ludwig prediction.","source":"cvelist"},{"lang":"es","text":"El framework Ludwig hasta la versión 0.10.4 es vulnerable a la deserialización insegura (CWE-502) a través de su método predict(). Cuando un usuario proporciona una ruta de archivo de conjunto de datos al método predict(), el framework determina automáticamente el formato del archivo. Si el archivo es un archivo pickle (.pkl), se carga usando pandas.read_pickle() sin ninguna validación ni restricciones de seguridad. Esto permite la deserialización de objetos Python arbitrarios a través del módulo pickle inseguro. Un atacante remoto puede explotar esto al proporcionar un archivo pickle creado maliciosamente, lo que lleva a la ejecución de código arbitrario en el sistema que ejecuta la predicción de Ludwig.","source":"nvd"}],"published":"2026-05-12T00:00:00.000Z","modified":"2026-11-16T15:45:09.946Z","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-31237-35d1e139318881fb95a2ee7c5d0e17d8","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31237","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ludwig/PYSEC-2026-404.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/ludwig","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-wcr3-gm9f-f87q","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-14T16:56:05.309Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31237","url":"https://www.cve.org/CVERecord?id=CVE-2026-31237","licence":"CVE Terms of Use","modified":"2026-05-14T19:54:23.672Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wcr3-gm9f-f87q","url":"https://github.com/advisories/GHSA-wcr3-gm9f-f87q","licence":"CC-BY-4.0","modified":"2026-11-16T15:45:09.946Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31237","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31237","licence":"Public domain","modified":"2026-10-19T22:10:00.130Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-404","url":"https://osv.dev/vulnerability/PYSEC-2026-404","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:56.815Z"}],"updatedAt":"2026-11-25T22:59:21.388Z","epss":{"score":0.006,"percentile":0.50109,"date":"2026-12-01T12:00:22.000Z"}}