Files or Directories Accessible to External Parties Affecting docling-slim package, versions [,2.118.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DOCLINGSLIM-20537061
  • published6 Oct 2026
  • disclosed5 Oct 2026
  • creditPriyank N, David Carliez

Introduced: 5 Oct 2026

NewCVE-2026-105750  (opens in a new tab)
CWE-552  (opens in a new tab)

How to fix?

Upgrade docling-slim to version 2.118.1 or higher.

Overview

docling-slim is a Modular version of the Docling package: SDK and CLI for parsing PDF, DOCX, HTML, and more, to a unified document representation for powering downstream workflows such as gen AI applications.

Affected versions of this package are vulnerable to Files or Directories Accessible to External Parties via the HTML render path in html_backend.py, which implicitly allows arbitrary file: scheme requests when rendering HTML documents. An attacker who can supply a malicious HTML file can cause the renderer to fetch arbitrary local files from the filesystem, leaking sensitive data.

Note: This is only exploitable when the HTML backend is used with render_page=True and a filesystem Path input; stream inputs, the default configuration (render_page=False), the docling CLI, docling-serve, and the EPUB, Markdown, XBRL, and email backends are not affected.

CVSS Base Scores

version 4.0
version 3.1