CVE-2026-31237
Full vulnerability record from the local CVENow database.
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.
Severity
CRITICAL
CVSS score
9.8
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-05-12 18:16:52.087000
Last modified
2026-10-19 22:10:00.130000
View original CVE JSON
{
"id": "CVE-2026-31237",
"sourceIdentifier": "[email protected]",
"published": "2026-05-12T18:16:52.087",
"lastModified": "2026-10-19T22:10:00.130",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "El framework Ludwig hasta la versión 0.10.4 es vulnerable a la deserialización insegura (CWE-502) a través de su método predict(). Cuando un usuario proporciona una ruta de archivo de conjunto de datos al método predict(), el framework determina automáticamente el formato del archivo. Si el archivo es un archivo pickle (.pkl), se carga usando pandas.read_pickle() sin ninguna validación ni restricciones de seguridad. Esto permite la deserialización de objetos Python arbitrarios a través del módulo pickle inseguro. Un atacante remoto puede explotar esto al proporcionar un archivo pickle creado maliciosamente, lo que lleva a la ejecución de código arbitrario en el sistema que ejecuta la predicción de Ludwig."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"version": "n/a",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-14T16:56:05.309414Z",
"id": "CVE-2026-31237",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-502"
}
]
}
],
"references": [
{
"url": "https://github.com/ludwig-ai/ludwig",
"source": "[email protected]"
},
{
"url": "https://www.notion.so/CVE-2026-31237-35d1e139318881fb95a2ee7c5d0e17d8",
"source": "[email protected]"
}
]
}