Description
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.16.0 until 2.131.0, the InputFormat.JSON_DOCLING backend in docling/backend/json/docling_json_backend.py validates serialized DoclingDocument input without rejecting picture image references that contain local paths or file URIs. When the document is enriched or exported with ImageRefMode.EMBEDDED, the DoclingDocument._with_embedded_pictures and ImageRef.pil_image methods can open those references and place readable image bytes in Markdown or HTML output. Disclosure is limited to files Pillow can decode as images, while differing decode behavior can also reveal whether a path exists. Direct untrusted loading through docling-core is outside this Docling fix. This issue is fixed in 2.131.0.
Affected products
docling: docling
References5
- github.com/docling-project/docling/security/advisories/GHSA-p94… ExploitPatchVendor Advisory
- github.com/docling-project/docling/security/advisories/GHSA-p94… ExploitPatchVendor Advisory
- github.com/docling-project/docling/commit/d4bb776884aba9aa3132f… Patch
- github.com/docling-project/docling/pull/4417 Issue TrackingPatch
- github.com/docling-project/docling/releases/tag/v2.131.0 Release Notes
Metrics
- CVSS 3.1
-
4.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 23 · as of 10 November 2026
- CWE
- CWE-73CWE-200
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.