[ CVE-2026-105748 · Published 5 Oct 2026 ]
Docling: Crafted DoclingDocument JSON embeds local image files into converted output
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]Official 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.
[ Fixes ]Fixes and patches
- docling 2.131.0Fixed version · GitHub Advisories · pip package docling: upgrade to 2.131.0 or later (affected >= 2.16.0, < 2.131.0)
- docling-slim 2.131.0Fixed version · GitHub Advisories · pip package docling-slim: upgrade to 2.131.0 or later (affected >= 2.92.0, < 2.131.0)
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ Packages ]Affected open-source packages
- docling pipAffected >= 2.16.0, < 2.131.0 · fixed in 2.131.0 · GHSA-p944-4xh2-x776
- docling-slim pipAffected >= 2.92.0, < 2.131.0 · fixed in 2.131.0 · GHSA-p944-4xh2-x776
[ References ]References
- github.com/docling-project/docling/commit/d4bb776884aba9aa3132f54773f420853cf7afe4Patch
- github.com/docling-project/docling/pull/4417Issue TrackingPatch
- github.com/docling-project/docling/releases/tag/v2.131.0Release Notes
- github.com/docling-project/docling/security/advisories/GHSA-p944-4xh2-x776ExploitPatchVendor Advisory