{"id":"CVE-2026-24009","aliases":["CVE-2026-24009","GHSA-vqxf-v2gg-x3hc","PYSEC-2026-1313"],"related":[],"kind":"vulnerability","state":"published","title":"Docling Core vulnerable to Remote Code Execution via unsafe PyYAML usage","summary":"Docling Core (or docling-core) is a library that defines core data types and transformations in the document processing application Docling. A PyYAML-related Remote Code Execution (RCE) vulnerability, namely CVE-2020-14343, is exposed in docling-core starting in version 2.21.0 and prior to version 2.48.4, specifically only if the application uses pyyaml prior to version 5.4 and invokes `docling_core.types.doc.DoclingDocument.load_from_yaml()` passing it untrusted YAML data. The vulnerability has been patched in docling-core version 2.48.4. The fix mitigates the issue by switching `PyYAML` deserialization from `yaml.FullLoader` to `yaml.SafeLoader`, ensuring that untrusted data cannot trigger code execution. Users who cannot immediately upgrade docling-core can alternatively ensure that the installed version of PyYAML is 5.4 or greater.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Docling Core (or docling-core) is a library that defines core data types and transformations in the document processing application Docling. A PyYAML-related Remote Code Execution (RCE) vulnerability, namely CVE-2020-14343, is exposed in docling-core starting in version 2.21.0 and prior to version 2.48.4, specifically only if the application uses pyyaml prior to version 5.4 and invokes `docling_core.types.doc.DoclingDocument.load_from_yaml()` passing it untrusted YAML data. The vulnerability has been patched in docling-core version 2.48.4. The fix mitigates the issue by switching `PyYAML` deserialization from `yaml.FullLoader` to `yaml.SafeLoader`, ensuring that untrusted data cannot trigger code execution. Users who cannot immediately upgrade docling-core can alternatively ensure that the installed version of PyYAML is 5.4 or greater.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA PyYAML-related Remote Code Execution (RCE) vulnerability, namely CVE-2020-14343, is exposed in `docling-core >=2.21.0, <2.48.4` and, specifically only if the application uses `pyyaml < 5.4` and invokes `docling_core.types.doc.DoclingDocument.load_from_yaml()` passing it untrusted YAML data.\n\n### Patches\n\nThe vulnerability has been patched in `docling-core` version **2.48.4**.\nThe fix mitigates the issue by switching `PyYAML` deserialization from `yaml.FullLoader` to `yaml.SafeLoader`, ensuring that untrusted data cannot trigger code execution.\n\n### Workarounds\n\nUsers who cannot immediately upgrade `docling-core` can alternatively ensure that the installed version of `PyYAML` is **5.4 or greater**, which supposedly patches CVE-2020-14343.\n\n### References\n\n* GitHub Issue: #482\n* Upstream Advisory: CVE-2020-14343\n* Fix Release: [v2.48.4](https://github.com/docling-project/docling-core/releases/tag/v2.48.4)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Docling Core (o docling-core) es una librería que define tipos de datos centrales y transformaciones en la aplicación de procesamiento de documentos Docling. Una vulnerabilidad de ejecución remota de código (RCE) relacionada con PyYAML, concretamente CVE-2020-14343, se expone en docling-core a partir de la versión 2.21.0 y anterior a la versión 2.48.4, específicamente solo si la aplicación utiliza pyyaml anterior a la versión 5.4 e invoca 'docling_core.types.doc.DoclingDocument.load_from_yaml()' pasándole datos YAML no confiables. La vulnerabilidad ha sido parcheada en docling-core versión 2.48.4. La solución mitiga el problema al cambiar la deserialización de 'PyYAML' de 'yaml.FullLoader' a 'yaml.SafeLoader', asegurando que los datos no confiables no puedan desencadenar la ejecución de código. Los usuarios que no puedan actualizar docling-core inmediatamente pueden, alternativamente, asegurarse de que la versión instalada de PyYAML sea 5.4 o superior.","source":"nvd"}],"published":"2026-01-22T15:04:52.745Z","modified":"2026-07-07T17:56:50.418Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":">= 2.21.0, < 2.48.4","status":"affected"}],"vendor":"docling-project","product":"docling-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.21.0","status":"affected","fixed":"2.48.4"}],"ecosystem":"PyPI","package":"docling-core","purl":"pkg:pypi/docling-core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.21.0","fixed":"2.48.4"}],"vendor":"docling","product":"docling-core","cpe":"cpe:2.3:a:docling:docling-core:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.21.0","status":"affected","fixed":"2.48.4"}],"ecosystem":"PyPI","package":"docling-core","purl":"pkg:pypi/docling-core","source":"pysec"}],"references":[{"url":"https://github.com/docling-project/docling-core/security/advisories/GHSA-vqxf-v2gg-x3hc","tags":["mitigation","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/docling-project/docling-core/issues/482","tags":["issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/docling-project/docling-core/commit/3e8d628eeeae50f0f8f239c8c7fea773d065d80c","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/advisories/GHSA-8q59-q68h-6hv4","tags":["advisory","not-applicable","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/docling-project/docling-core/releases/tag/v2.48.4","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24009","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/docling-project/docling-core","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/docling-core","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-vqxf-v2gg-x3hc","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-22T15:59:15.304Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-24009","url":"https://www.cve.org/CVERecord?id=CVE-2026-24009","licence":"CVE Terms of Use","modified":"2026-01-22T15:59:19.883Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vqxf-v2gg-x3hc","url":"https://github.com/advisories/GHSA-vqxf-v2gg-x3hc","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:50.418Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-24009","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24009","licence":"Public domain","modified":"2026-06-17T10:22:28.303Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1313","url":"https://osv.dev/vulnerability/PYSEC-2026-1313","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:38.921Z"}],"updatedAt":"2026-11-25T22:59:13.056Z","epss":{"score":0.01534,"percentile":0.75558,"date":"2026-12-01T12:00:22.000Z"}}