Intel

AIKIDO-2025-10690

docling-core is vulnerable to Deserialization of Untrusted Data

Deserialization of Untrusted Data Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 9, 2025

70

High Risk

This Affects:

Pythondocling-core
2.21.0 - 2.48.3
Fixed in 2.48.4
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Arbitrary Code Execution due to unsafe YAML deserialization. They use yaml.load() with loader=yaml.FullLoader to process untrusted YAML input. An attacker can exploit this by supplying a maliciously crafted YAML file containing embedded Python commands, which are executed during deserialization and can potentially lead to full system compromise.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

docling-core is vulnerable to Deserialization of Untrusted Data in versions 2.21.0 - 2.48.3.

How to fix this

Upgrade the docling-core library to the patch version.