docling-core 2.5.0 before 2.103.0 contains a local file disclosure vulnerability that allows attackers to read local images by supplying plain filesystem paths in ImageRef URIs, bypassing the allow_image_file_uri gate. Attackers can submit crafted DoclingDocument JSON or YAML that, when exported with ImageRefMode.EMBEDDED or rendered to HTML, embeds readable local image files as base64 and reveals path existence.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 4
- References+3 references (now 7)NVD modified 2026-10-19 21:17
- StatusReceived → DeferredNVD modified 2026-10-19 21:17
- DescriptionNVD modified 2026-10-19 21:17
docling-core through 2.102.0 contains a local file disclosure vulnerability that allows attackers to read local images by supplying plain filesystem paths in ImageRef URIs, bypassing the allow_image_file_uri gate. Attackers can submit crafted DoclingDocument JSON or YAML that, when exported with ImageRefMode.EMBEDDED or rendered to HTML, embeds readable local image files as base64 and reveals path existence.docling-core 2.5.0 before 2.103.0 contains a local file disclosure vulnerability that allows attackers to read local images by supplying plain filesystem paths in ImageRef URIs, bypassing the allow_image_file_uri gate. Attackers can submit crafted DoclingDocument JSON or YAML that, when exported with ImageRefMode.EMBEDDED or rendered to HTML, embeds readable local image files as base64 and reveals path existence. - First seenCVSS 5.3NVD modified 2026-10-19 16:17
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 7
- https://github.com/docling-project/docling-core/blob/v2.102.0/docling_core/types/doc/common/reference.py
- https://github.com/docling-project/docling-core/blob/v2.102.0/docling_core/types/doc/document.py
- https://github.com/docling-project/docling-core/commit/f952fc5d4c68fb673043c7c9f9c4390052959517
- https://github.com/docling-project/docling-core/pull/900
- https://github.com/docling-project/docling-core/releases/tag/v2.103.0
- https://github.com/docling-project/docling-core/security/advisories/GHSA-jx5c-6gmw-72m3
- https://www.vulncheck.com/advisories/docling-core-through-2.102.0-local-file-disclosure-via-plain-path-imageref