Intel

AIKIDO-2026-10270

docling is vulnerable to XML External Entity (XXE) Attack

XML External Entity (XXE) Attack Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 2, 2026

85

High Risk

This Affects:

PYTHONdocling
2.13.0 - 2.73.1
Fixed in 2.74.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to XML external entity (XXE) and related injection attacks when parsing certain XML-based document formats. Without proper safeguards, crafted XML input may include external entity references that can cause the parser to disclose local files, perform SSRF lookups, or otherwise expose unintended data during document processing. This can lead to sensitive information exposure or application instability if untrusted documents are processed. The issue is fixed by hardening the XML parsing logic to disable unsafe entity resolution and sanitize XML input, preventing external entity expansion and related attack vectors.

Who does this affect?

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

Background info

docling is vulnerable to XML External Entity (XXE) Attack in versions 2.13.0 - 2.73.1.

How to fix this

Upgrade the docling library to a patch version.