CVE-2026-105751: Docling Arbitrary Local File Read Vulnerability

docling Updated 15 Oct 2026

Summary

15/10/2026
Yes i
Moderate
6.9

CVE-2026-105751: Docling: Arbitrary local file read via draw:image xlink:href in the OpenDocument backend. Affects docling versions >= 2.107.0, < 2.120.3. Fixed in 2.120.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Docling is an open-source document conversion tool that supports various formats, including OpenDocument. It allows users to convert documents into HTML, Markdown, and JSON formats. The tool is designed for local execution capabilities, making it suitable for sensitive data handling. However, it has a vulnerability that allows arbitrary local file reads, which can lead to significant security risks.

Vulnerability Detail

The vulnerability arises from the ODF backend of Docling, which resolves the xlink:href attribute of draw:image elements as filesystem paths when the referenced part is not found in the document archive. This occurs without proper checks, allowing an attacker to craft a malicious .odt file that can read arbitrary files from the host system. The lack of scheme checks and confinement to the extraction directory means that sensitive files can be accessed and disclosed, leading to potential data breaches.

How To Fix

Latest published version: 2.142.0 as of 22 Oct 2026

pip install --upgrade "docling==2.142.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.120.3

This is the first release that contains the fix.

pip install --upgrade "docling==2.120.3"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using the ODF backend for document conversions until you can update to the patched version. Additionally, ensure that any .odt files processed do not contain malicious xlink:href attributes that could lead to local file reads.

Conclusion

The CVE-2026-105751 vulnerability in Docling poses a significant risk by allowing arbitrary local file reads. Users are advised to update to the latest version to mitigate this risk. Additionally, using Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for docling →

Share this vulnerability

FAQ

CVE-2026-105751 is a vulnerability in the Docling package that allows arbitrary local file reads through improperly handled xlink:href attributes in OpenDocument files.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The risks include unauthorized access to sensitive files on the host system, potential data breaches, and the ability to use the vulnerability as a silent file existence oracle.

Yes, a patch is available in version 2.120.3 of the Docling package. Users are encouraged to update to this version.

If you cannot update immediately, avoid using the ODF backend for document conversions and ensure that any .odt files processed do not contain malicious xlink:href attributes.

Related vulnerabilities

Recent vulnerabilities recorded for docling.

How To Fix

Latest published version: 2.142.0 as of 22 Oct 2026

pip install --upgrade "docling==2.142.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.120.3

This is the first release that contains the fix.

pip install --upgrade "docling==2.120.3"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback