CVE-2026-31238
Last modified
CVE-2026-31238 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. The Ludwig framework thru 0.10.4 is vulnerable to insecure deserialization (CWE-502) in its model serving component. When starting a model server with the ludwig serve command, the framework loads model weight files using torch.load() without enabling the security-restrictive weights_only=True parameter. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
Description
The Ludwig framework thru 0.10.4 is vulnerable to insecure deserialization (CWE-502) in its model serving component. When starting a model server with the ludwig serve command, the framework loads model weight files using torch.load() without enabling the security-restrictive weights_only=True parameter. This default behavior allows the deserialization of arbitrary Python objects via the pickle module. An attacker can exploit this by providing a maliciously crafted PyTorch model file, leading to arbitrary code execution on the system hosting the Ludwig model server.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-31238?
How severe is CVE-2026-31238?
How do I fix CVE-2026-31238?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31232The CosyVoice project thru commit 6e01309e01bc93bbeb83bdd996…8.8
- CVE-2026-31233Guardrails AI thru 0.6.7 contains a code injection vulnerabi…9.8
- CVE-2026-31234Horovod thru 0.28.1 contains an insecure deserialization vul…9.8
- CVE-2026-31235The imgaug library thru 0.4.0 contains an insecure deseriali…9.8
- CVE-2026-31236The llm CLI tool thru 0.27.1 contains a critical code inject…9.8
- CVE-2026-31237The Ludwig framework thru 0.10.4 is vulnerable to insecure d…9.8
- CVE-2026-31239The mamba language model framework thru 2.2.6 is vulnerable …9.8
- CVE-2026-3124The Download Monitor plugin for WordPress is vulnerable to I…7.5
- CVE-2026-31240The mem0 1.0.0 server lacks authentication and authorization…7.5
- CVE-2026-31241The mem0 1.0.0 server lacks authentication and authorization…6.5
- CVE-2026-31242The mem0 v1.0.0 server lacks authentication and authorizatio…9.1
- CVE-2026-31243The mem0 1.0.0 server lacks authentication and authorization…6.5
Are you affected by CVE-2026-31238?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
