Skip to content
Heist/ feed
Medium

Docling: Crafted DoclingDocument JSON embeds local image files into converted output

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-105748

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-105748

docling

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

docling-slim

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "docling-project",
    "product": "docling",
    "versions": [
      {
        "status": "affected",
        "version": ">= 2.16.0, < 2.131.0"
      }
    ]
  },
  {
    "vendor": "docling-project",
    "product": "docling-slim",
    "versions": [
      {
        "status": "affected",
        "version": ">= 2.16.0, < 2.131.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-105748

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#9311 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement