CVE-2026-24009

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:docling:docling-core:*:*:*:*:*:python:*:*

History

09 Apr 2026, 14:25

Type Values Removed Values Added
Summary
  • (es) 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.
References () https://github.com/advisories/GHSA-8q59-q68h-6hv4 - () https://github.com/advisories/GHSA-8q59-q68h-6hv4 - Not Applicable
References () https://github.com/docling-project/docling-core/commit/3e8d628eeeae50f0f8f239c8c7fea773d065d80c - () https://github.com/docling-project/docling-core/commit/3e8d628eeeae50f0f8f239c8c7fea773d065d80c - Patch
References () https://github.com/docling-project/docling-core/issues/482 - () https://github.com/docling-project/docling-core/issues/482 - Issue Tracking
References () https://github.com/docling-project/docling-core/releases/tag/v2.48.4 - () https://github.com/docling-project/docling-core/releases/tag/v2.48.4 - Product, Release Notes
References () https://github.com/docling-project/docling-core/security/advisories/GHSA-vqxf-v2gg-x3hc - () https://github.com/docling-project/docling-core/security/advisories/GHSA-vqxf-v2gg-x3hc - Mitigation, Patch, Vendor Advisory
CPE cpe:2.3:a:docling:docling-core:*:*:*:*:*:python:*:*
First Time Docling
Docling docling-core

22 Jan 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-22 16:16

Updated : 2026-04-09 14:25


NVD link : CVE-2026-24009

Mitre link : CVE-2026-24009

CVE.ORG link : CVE-2026-24009


JSON object : View

Products Affected

docling

  • docling-core
CWE
CWE-502

Deserialization of Untrusted Data