# CVE-2026-112310: docling-core 2.5.0 before 2.103.0 Local File Disclosure via Plain Path ImageRef

Source: https://aplosec.si/cve/CVE-2026-112310/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-112310

Medium 5.3 · Reported · Fixed in 2.103.0 · CWE-73 · Multiple credited contributors · PyPI

# docling-core 2.5.0 before 2.103.0 Local File Disclosure via Plain Path ImageRef

CVE-2026-112310 · published 2026-10-19

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

## Summary

CVE-2026-112310 affects docling-core (PyPI) 2.5.0 before 2.103.0: Local file disclosure via plain path ImageRef (CWE-73). Fixed in 2.103.0. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-10-19 by VulnCheck. Credit: kta1kri, Zachariah Mithani.

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade docling-core to 2.103.0 or later. Releases in the affected range (2.5.0 before 2.103.0) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-10-19 CVE published

- 2026-10-28 Public record last updated

## References

- [Referencehttps://github.com/docling-project/docling-core/security/advisories/GHSA-jx5c-6gmw-72m3](https://github.com/docling-project/docling-core/security/advisories/GHSA-jx5c-6gmw-72m3)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/docling-core-through-2.102.0-local-file-disclosure-via-plain-path-imageref](https://www.vulncheck.com/advisories/docling-core-through-2.102.0-local-file-disclosure-via-plain-path-imageref)

- [Fix commithttps://github.com/docling-project/docling-core/commit/f952fc5d4c68fb673043c7c9f9c4390052959517](https://github.com/docling-project/docling-core/commit/f952fc5d4c68fb673043c7c9f9c4390052959517)

- [Fix pull requesthttps://github.com/docling-project/docling-core/pull/900](https://github.com/docling-project/docling-core/pull/900)

- [Vulnerable codehttps://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/common/reference.py)

- [Vulnerable codehttps://github.com/docling-project/docling-core/blob/v2.102.0/docling_core/types/doc/document.py](https://github.com/docling-project/docling-core/blob/v2.102.0/docling_core/types/doc/document.py)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-112310](https://www.cve.org/CVERecord?id=CVE-2026-112310)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-112310](https://nvd.nist.gov/vuln/detail/CVE-2026-112310)

**Severity:** Medium 5.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-112310)

**Package:** docling-core

**Ecosystem:** PyPI

**Affected:** 2.5.0 before 2.103.0

**Fixed:** 2.103.0

**Weakness:** CWE-73

**CNA:** VulnCheck

**Credit:** kta1kri finder · Zachariah Mithani finder
