# CVE-2026-31237: Ludwig framework is vulnerable to insecure deserialization through its predict() method.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2026-05-12T00:00:00.000Z
- Modified: 2026-11-16T15:45:09.946Z
- Also known as: GHSA-wcr3-gm9f-f87q, PYSEC-2026-404
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ludwig (PyPI): up to 0.10.4

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ludwig-ai/ludwig> (package)
- <https://www.notion.so/CVE-2026-31237-35d1e139318881fb95a2ee7c5d0e17d8> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31237> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ludwig/PYSEC-2026-404.yaml> (web)
- <https://pypi.org/project/ludwig> (package, web)
- <https://github.com/advisories/GHSA-wcr3-gm9f-f87q> (advisory)

## Sources

- CVE List: [CVE-2026-31237](https://www.cve.org/CVERecord?id=CVE-2026-31237), CVE Terms of Use, modified 2026-05-14
- GitHub Advisory Database: [GHSA-wcr3-gm9f-f87q](https://github.com/advisories/GHSA-wcr3-gm9f-f87q), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-31237](https://nvd.nist.gov/vuln/detail/CVE-2026-31237), Public domain, modified 2026-10-19
- PyPA Advisory Database: [PYSEC-2026-404](https://osv.dev/vulnerability/PYSEC-2026-404), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2026-31237 · Whole record: https://cve.day/CVE-2026-31237.json · Rebuilt by cve.day 2026-11-25T22:59:21.388Z
