Skip to content
CriticalVulnerability

CVE-2026-31238: Ludwig insecure deserialization in model serving via torch.load

Identifier
CVE-2026-31238
Published
Record updated
View JSON
Affected
  • ludwig <= 0.10.4
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

CVE-2026-31238 affects the Ludwig framework through version 0.10.4, in its model serving component (CWE-502). When a model server starts with the ludwig serve command, the framework loads model weight files with torch.load() without setting weights_only=True, so arbitrary Python objects can be deserialized via the pickle module. An attacker who supplies a maliciously crafted PyTorch model file can achieve arbitrary code execution on the host running the Ludwig model server.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.