medium4.3
CVE-2026-112310
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…
Impact
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.
Affected products
| Product | Affected versions |
|---|---|
| Docling-Core 2.5.0 | before 2.103.0 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- 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