---
id: CVE-2026-105751
title: >-
  Docling simplifies document processing by parsing diverse formats and
  providing integrations with the generative AI ecosystem
summary: >-
  Docling simplifies document processing by parsing diverse formats and
  providing integrations with the generative AI ecosystem. From 2.107.0 until
  2.120.3, docling/backend/opendocument_backend.py uses the xlink:href attribute
  value of a d…
severity: medium
cvss: 6.9
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N'
cwe:
  - CWE-22
vendor: docling
product: docling
affected:
  - 'docling >= 2.107.0, < 2.120.3'
patched:
  - docling 2.120.3
published: '2026-10-05'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T22:16:58.253'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105751'
references:
  - url: >-
      https://github.com/docling-project/docling/commit/6ee9965adfc364b3696a67c825ec2f0d9cee4311
    label: security-advisories@github.com
  - url: 'https://github.com/docling-project/docling/pull/4015'
    label: security-advisories@github.com
  - url: 'https://github.com/docling-project/docling/releases/tag/v2.120.3'
    label: security-advisories@github.com
  - url: >-
      https://github.com/docling-project/docling/security/advisories/GHSA-4xhp-xg4w-8ppm
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-4xhp-xg4w-8ppm'
tags:
  - nvd
  - ghsa
  - pip
  - cve.org
aliases:
  - GHSA-4xhp-xg4w-8ppm
ecosystem: pip
cvssSource: cna
ingestedAt: '2026-10-05T22:35:24.739Z'
---

## Overview

Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.107.0 until 2.120.3, docling/backend/opendocument_backend.py uses the xlink:href attribute value of a draw:image element as a filesystem path when the referenced part is not found in the document archive. The _image_ref_from_odf_image function reads that attacker-controlled path without a scheme check, extraction-directory confinement, or the enable_local_fetch setting used by other backends. Readable files that Pillow can decode as images are embedded in converted output, and other existing paths can be distinguished through the attempted read. This issue is fixed in 2.120.3.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-105751)

Affected packages:

- `docling >= 2.107.0, < 2.120.3`

Patched in:

- `docling 2.120.3`

Source: https://github.com/advisories/GHSA-4xhp-xg4w-8ppm
