Skip to main content
VulnerabilityPublished Updated

CVE-2026-31238: Ludwig framework is vulnerable to insecure deserialization in its model serving component

Affects ludwigSource GCVE Database

0
Compare
Authoritative record:CVE-2026-31238· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical.

Data as of 16 Nov 2026, 17:33 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIludwigAffected
  • <=0.10.4
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 loading untrusted PyTorch model files with Ludwig serve until a fix is available. Monitor the vendor's advisory channels for updates. Since this is a local deserialization vulnerability triggered by loading malicious model files, restricting model file sources to trusted origins is recommended as a temporary mitigation.

Description

The Ludwig framework versions up to 0.10.4 contain an insecure deserialization vulnerability in the model serving component. This occurs because the framework loads model weight files using torch.load() without the security-restrictive weights_only=True parameter, allowing arbitrary Python object deserialization via pickle. An attacker can exploit this by supplying a malicious PyTorch model file, potentially leading to arbitrary code execution on the host running the Ludwig model server.

References

Community reviews

Loading reviews…