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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th 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-17151737
  • published4 Jun 2026
  • disclosed3 Jun 2026
  • creditMartin Brodeur

Introduced: 3 Jun 2026

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

How to fix?

Upgrade docling-core to version 2.74.1 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 in the pil_image() function, when handling image reference URIs. An attacker can access local files using the file:// scheme, or cause excessive memory consumption with a reference using the data: scheme that points to a very large image payload.

CVSS Base Scores

version 4.0
version 3.1