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.
https://github.com/docling-project/docling-core/security/advisories/GHSA-jx5c-6gmw-72m3
https://github.com/docling-project/docling-core/releases/tag/v2.103.0
https://github.com/docling-project/docling-core/pull/900
https://github.com/docling-project/docling-core/commit/f952fc5d4c68fb673043c7c9f9c4390052959517
https://github.com/docling-project/docling-core/blob/v2.102.0/docling_core/types/doc/document.py
Published: 2026-10-19
Updated: 2026-10-19
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N
Severity: Medium
Base Score: 4.3
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Severity: Medium
Base Score: 5.3
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00335