Skip to main content
← All vulnerabilities
CVE-2026-105748PYSEC-2026-4213GHSA-P944-4XH2-X776PYSEC-2026-4208

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.131.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • docling-project docling

    From 2.16.0 · fixed in 2.131.0

  • docling-project docling-slim

    From 2.16.0 · fixed in 2.131.0

  • doclingPyPI

    From 2.16.0 · fixed in 2.131.0

  • docling-slimPyPI

    From 2.92.0 · fixed in 2.131.0

References 4

GitHub · docling-project/docling