{"id":"CVE-2026-24009","state":"PUBLISHED","title":"Docling Core vulnerable to Remote Code Execution via unsafe PyYAML usage","description":"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.","publishedAt":"2026-01-22T15:04:52.745Z","updatedAt":"2026-01-22T15:59:19.883Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["docling-project docling-core"],"affected":[{"vendor":"docling-project","product":"docling-core","versions":[{"version":">= 2.21.0, < 2.48.4","status":"affected"}]}],"references":["https://github.com/docling-project/docling-core/security/advisories/GHSA-vqxf-v2gg-x3hc","https://github.com/docling-project/docling-core/issues/482","https://github.com/docling-project/docling-core/commit/3e8d628eeeae50f0f8f239c8c7fea773d065d80c","https://github.com/advisories/GHSA-8q59-q68h-6hv4","https://github.com/docling-project/docling-core/releases/tag/v2.48.4"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/24xxx/CVE-2026-24009.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-24009","state":"PUBLISHED","datePublished":"2026-01-22T15:04:52.745Z","dateUpdated":"2026-01-22T15:59:19.883Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-19T18:49:20.660Z"},"containers":{"cna":{"title":"Docling Core vulnerable to Remote Code Execution via unsafe PyYAML usage","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"docling-project","product":"docling-core","versions":[{"version":">= 2.21.0, < 2.48.4","status":"affected"}]}],"references":[{"url":"https://github.com/docling-project/docling-core/security/advisories/GHSA-vqxf-v2gg-x3hc","name":"https://github.com/docling-project/docling-core/security/advisories/GHSA-vqxf-v2gg-x3hc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/docling-project/docling-core/issues/482","name":"https://github.com/docling-project/docling-core/issues/482","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling-core/commit/3e8d628eeeae50f0f8f239c8c7fea773d065d80c","name":"https://github.com/docling-project/docling-core/commit/3e8d628eeeae50f0f8f239c8c7fea773d065d80c","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-8q59-q68h-6hv4","name":"https://github.com/advisories/GHSA-8q59-q68h-6hv4","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling-core/releases/tag/v2.48.4","name":"https://github.com/docling-project/docling-core/releases/tag/v2.48.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","lang":"en","description":"CWE-502: Deserialization of Untrusted Data","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-22T15:04:52.745Z"},"source":{"advisory":"GHSA-vqxf-v2gg-x3hc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-22T15:59:15.304157Z","id":"CVE-2026-24009","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-22T15:59:19.883Z"}}]}}}