# CVE-2026-105748: Docling: Crafted DoclingDocument JSON embeds local image files into converted output

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-05T21:34:25.628Z
- Modified: 2026-10-15T14:55:52.070Z
- Also known as: GHSA-p944-4xh2-x776, PYSEC-2026-4208, PYSEC-2026-4213
- Weaknesses: CWE-73, CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- docling-project docling: >= 2.16.0, < 2.131.0
- docling-project docling-slim: >= 2.16.0, < 2.131.0
- docling (PyPI): from 2.16.0 before 2.131.0
- docling-slim (PyPI): from 2.92.0 before 2.131.0
- docling docling: from 2.16.0 before 2.131.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `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> (exploit, patch, vendor-advisory, web)
- <https://github.com/docling-project/docling/pull/4417> (issue-tracking, patch, web)
- <https://github.com/docling-project/docling/commit/d4bb776884aba9aa3132f54773f420853cf7afe4> (patch, web)
- <https://github.com/docling-project/docling/releases/tag/v2.131.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-105748> (advisory)
- <https://github.com/docling-project/docling> (package)
- <https://pypi.org/project/docling> (package)
- <https://github.com/advisories/GHSA-p944-4xh2-x776> (advisory)
- <https://pypi.org/project/docling-slim> (package)

## Sources

- CVE List: [CVE-2026-105748](https://www.cve.org/CVERecord?id=CVE-2026-105748), CVE Terms of Use, modified 2026-10-06
- GitHub Advisory Database: [GHSA-p944-4xh2-x776](https://github.com/advisories/GHSA-p944-4xh2-x776), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-105748](https://nvd.nist.gov/vuln/detail/CVE-2026-105748), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-4208](https://osv.dev/vulnerability/PYSEC-2026-4208), CC-BY-4.0, modified 2026-10-15
- PyPA Advisory Database: [PYSEC-2026-4213](https://osv.dev/vulnerability/PYSEC-2026-4213), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-105748 · Whole record: https://cve.day/CVE-2026-105748.json · Rebuilt by cve.day 2026-11-25T22:59:42.188Z
