Docling Core
Monthly
Remote code execution in Docling Core versions 2.21.0 through 2.48.3 allows unauthenticated attackers to execute arbitrary code when applications deserialize untrusted YAML data using the `DoclingDocument.load_from_yaml()` method with vulnerable PyYAML versions. The vulnerability stems from unsafe deserialization practices (CWE-502) and affects document processing systems using affected library versions. No patch is currently available; mitigation requires upgrading to version 2.48.4 or ensuring PyYAML 5.4+ is installed.
Local file disclosure in docling-core through 2.102.0 allows remote attackers to make crafted DoclingDocument JSON or YAML embed readable local images as base64 when the document is exported with ImageRefMode.EMBEDDED or rendered to HTML. The bypass supplies plain filesystem paths in ImageRef URIs, evading the allow_image_file_uri gate that in the vulnerable code only guarded file:// URIs. Impact is limited to PIL-parseable images within settings.max_image_decoded_size, though path existence can also be inferred from error behavior; no public exploit was identified at time of analysis.
Remote code execution in Docling Core versions 2.21.0 through 2.48.3 allows unauthenticated attackers to execute arbitrary code when applications deserialize untrusted YAML data using the `DoclingDocument.load_from_yaml()` method with vulnerable PyYAML versions. The vulnerability stems from unsafe deserialization practices (CWE-502) and affects document processing systems using affected library versions. No patch is currently available; mitigation requires upgrading to version 2.48.4 or ensuring PyYAML 5.4+ is installed.
Local file disclosure in docling-core through 2.102.0 allows remote attackers to make crafted DoclingDocument JSON or YAML embed readable local images as base64 when the document is exported with ImageRefMode.EMBEDDED or rendered to HTML. The bypass supplies plain filesystem paths in ImageRef URIs, evading the allow_image_file_uri gate that in the vulnerable code only guarded file:// URIs. Impact is limited to PIL-parseable images within settings.max_image_decoded_size, though path existence can also be inferred from error behavior; no public exploit was identified at time of analysis.