External Control of File Name or Path Affecting docling-core package, versions [,2.103.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (29th 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-DOCLINGCORE-21460722
  • published23 Oct 2026
  • disclosed19 Oct 2026
  • creditZachariah Mithani

Introduced: 19 Oct 2026

CVE-2026-112310  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade docling-core to version 2.103.0 or higher.

Overview

docling-core is an A python library to define and validate data types in Docling.

Affected versions of this package are vulnerable to External Control of File Name or Path via _with_embedded_pictures and ImageRef when exporting a DoclingDocument containing untrusted content. Plain filesystem paths and file:// URIs embedded in an untrusted document are read directly during export operations (such as save_as_* in EMBEDDED mode), bypassing the allow_image_file_uri gate and the size limit. An attacker who can supply a malicious DoclingDocument can cause the application to read arbitrary local files and expose their contents through the exported output.

CVSS Base Scores

version 4.0
version 3.1