Description
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.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-73 — External Control of File Name or Path
Affected products
| Vendor | Product | Versions |
|---|---|---|
| docling-project | docling-core | 2.5.0 to <2.103.0 [affected] |
References
- https://github.com/docling-project/docling-core/security/advisories/GHSA-jx5c-6gmw-72m3 (vendor-advisory)
- https://github.com/docling-project/docling-core/commit/f952fc5d4c68fb673043c7c9f9c4390052959517 (patch)
- https://github.com/docling-project/docling-core/releases/tag/v2.103.0 (release-notes)
- https://github.com/docling-project/docling-core/pull/900 (patch issue-tracking)
- https://github.com/docling-project/docling-core/blob/v2.102.0/docling_core/types/doc/common/reference.py (technical-description)
- https://github.com/docling-project/docling-core/blob/v2.102.0/docling_core/types/doc/document.py (technical-description)
- https://www.vulncheck.com/advisories/docling-core-through-2.102.0-local-file-disclosure-via-plain-path-imageref (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 20 Oct 2026 07:03 UTC.