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.
Published: 2026-10-05
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure via Local File Access
Action: Patch
AI Analysis

Impact

The vulnerability originates from the InputFormat.JSON_DOCLING backend in docling, which fails to reject picture image references that contain local paths or file URIs. When a DoclingDocument is enriched or exported with ImageRefMode.EMBEDDED, the document processing routine attempts to open those references and embed the image bytes into the output. As a result, an attacker can craft a JSON document that points to local images available to the process, thereby causing the system to read and expose those images. The disclosure is limited to files that Pillow can decode and also reveals whether a particular path exists through decode behavior. This flaw does not allow arbitrary code execution but permits unauthorized reading of local resources and can be used to gain insight into the file system structure.

Affected Systems

The affected products are the open‑source docling and docling‑slim projects maintained by docling‑project. Versions from 2.16.0 through 2.131.0 (inclusive) are vulnerable. All releases equal to or newer than 2.131.0 contain the fix that rejects local references when embedding images.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity; the EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog. The likelihood of exploitation depends on how the vulnerable application is exposed: if it accepts untrusted JSON inputs from external sources, an attacker can supply a crafted document to trigger local file disclosure. The impact is limited to read‑only access to image files that Pillow can decode; the flaw does not provide a path traversal that can reach arbitrary files, but it does leak existence information. Overall, the risk is moderate and mitigated by applying the official patch.

Generated by OpenCVE AI on October 5, 2026 at 22:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade docling and docling-slim to version 2.131.0 or later to enforce rejection of local image references when embedding.
  • If upgrading immediately is not feasible, restrict JSON document ingestion to trusted inputs only and reject any local file path or file URI references before processing.
  • Configure monitoring or logging for attempts to load local file references and alert on suspicious inputs to detect potential exploitation attempts.

Generated by OpenCVE AI on October 5, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-p944-4xh2-x776 Docling: Crafted DoclingDocument JSON embeds local image files into converted output
History

Wed, 07 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Docling
Docling docling
CPEs cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:*
Vendors & Products Docling
Docling docling

Tue, 06 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 06 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Mon, 05 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Docling-project
Docling-project docling
Vendors & Products Docling-project
Docling-project docling

Mon, 05 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title Docling: Crafted DoclingDocument JSON embeds local image files into converted output
Weaknesses CWE-200
CWE-73
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'}


Subscriptions

Docling Docling
Docling-project Docling
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-06T14:17:25.343Z

Reserved: 2026-10-05T19:11:07.947Z

Link: CVE-2026-105748

cve-icon Vulnrichment

Updated: 2026-10-06T14:17:20.726Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-05T22:16:57.793

Modified: 2026-10-07T18:47:00.463

Link: CVE-2026-105748

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-05T21:34:25Z

Links: CVE-2026-105748 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-05T23:00:19Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-73

    External Control of File Name or Path