CVE-2026-31237: Ludwig framework is vulnerable to insecure deserialization through its predict() method
Affects ludwigSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 16 Nov 2026, 16:51 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIludwig | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid passing untrusted pickle files to the predict() method. Until a fix is released, do not use the predict() method with pickle files from untrusted sources. Monitor the Ludwig project for updates or official patches addressing this issue.
Description
The Ludwig framework up to version 0.10.4 is vulnerable to insecure deserialization via its predict() method. This occurs because the method automatically loads pickle (.pkl) files using pandas.read_pickle() without validation, allowing arbitrary Python object deserialization. An attacker can exploit this by supplying a malicious pickle file, potentially leading to arbitrary code execution on the host system.
References
- nvd.nist.gov/vuln/detail/CVE-2026-31237 (opens in a new tab)
- github.com/ludwig-ai/ludwig (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/ludwig/PYSEC-2026-404.yaml (opens in a new tab)
- pypi.org/project/ludwig (opens in a new tab)
- notion.so/CVE-2026-31237-35d1e139318881fb95a2ee7c5d0e17d8 (opens in a new tab)