Docling Core: Insufficient validation of image reference URIs
High severity
GitHub Reviewed
Published
Jun 2, 2026
in
docling-project/docling-core
•
Updated Jun 3, 2026
Description
Published to the GitHub Advisory Database
Jun 3, 2026
Reviewed
Jun 3, 2026
Last updated
Jun 3, 2026
Impact
In versions
>= 2.5.0, < 2.74.1,docling-corecould allow localfile://image references and accepted inlinedata:content without a decoded-size limit.In applications that accept untrusted image references, this may allow access to local files readable by the process or excessive memory use from large inline payloads.
Patches
Patched in
docling-core2.74.1.The fix blocks local file URIs by default and adds a size limit for decoded inline image data.
Users should upgrade to:
docling-core>= 2.74.1Workarounds
If upgrading is not immediately possible:
file:anddata:image references from untrusted inputReferences
v2.74.1References