Vulnerability · Published Oct 5, 2026 · Assigned by GitHub_M
CVE-2026-105748Docling: Crafted DoclingDocument JSON embeds local image files into converted output
Medium 4.3
In plain English
A medium-severity information exposure in docling from docling-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | docling | 2.131.0 | GHSA-p944-4xh2-x776 |
| PyPI | docling | 2.131.0 | PYSEC-2026-4208 |
| PyPI | docling-slim | 2.131.0 | GHSA-p944-4xh2-x776 |
| PyPI | docling-slim | 2.131.0 | PYSEC-2026-4213 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| docling-project | docling | >= 2.16.0, < 2.131.0 |
| docling-project | docling-slim | >= 2.16.0, < 2.131.0 |
Weakness: CWE-73, CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
References
- https://github.com/docling-project/docling/security/advisories/GHSA-p944-4xh2-x776 x_refsource_CONFIRM
- https://github.com/docling-project/docling/pull/4417 x_refsource_MISC
- https://github.com/docling-project/docling/commit/d4bb776884aba9aa3132f54773f420853cf7afe4 x_refsource_MISC
- https://github.com/docling-project/docling/releases/tag/v2.131.0 x_refsource_MISC