External Control of File Name or Path Affecting docling-slim package, versions [2.92.0, 2.131.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.22% (12th 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-20537238
  • published6 Oct 2026
  • disclosed5 Oct 2026
  • creditJeff Witt

Introduced: 5 Oct 2026

NewCVE-2026-105748  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade docling-slim to version 2.131.0 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 External Control of File Name or Path via the DoclingJSONBackend when processing a DoclingDocument JSON input containing ImageRef fields with local filesystem paths or file:// URIs. An attacker who can supply a malicious JSON document can cause the converter to open arbitrary local files on the host, which are then read by enrichment models or embedded-image export stages, exposing their contents.

Note: This is only exploitable when the application accepts InputFormat.JSON_DOCLING input, which is enabled by default.

CVSS Base Scores

version 4.0
version 3.1