CVE-2026-47214
JSON

7.1high

Docling: Unsafe URI and Path Handling in HTML Backend

Severity
7.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.22% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-q29v-xc37-wh5mPYSEC-2026-2146

Description

Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. Prior to 2.94.0, the HTML backend has unsafe URI and path handling. This vulnerability is fixed in 2.94.0.

Affected

Product or packageVersionsReported by
docling-project docling< 2.94.0CVE List
docling (PyPI)before 2.94.0GitHub Advisory Database, PyPA Advisory Database
docling doclingbefore 2.94.0NVD

All scores

GitHub_M7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
GitHub7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
PyPA Advisory Database7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L

Classification

CWE-73CWE-400

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. Prior to 2.94.0, the HTML backend has unsafe URI and path handling. This vulnerability is fixed in 2.94.0.

GitHub Advisory Database
Impact

The HTML backend did not perform sufficient validation during resource handling:

  • Accepted file:// URIs enabling local file system access when enable_local_fetch=True
  • Path resolution allowed traversal outside intended directories via ../ sequences and absolute paths
  • Did not block internal network resources under enable_remote_fetch=True
  • HTTP redirects were not validated, potentially redirecting to unintended schemes
  • No resource limits for remote image downloads and data: URIs
Patches

Fixed in versions 2.91.0 (initial fixes) and 2.94.0 (additional improvements). The fixes implement:

  • Updated local path treatment: absolute files always blocked, relative paths require enable_local_fetch=True (default: False) and containment within configured base_path for path traversal protection
  • file:// scheme stripped & treated as local path (above)
  • IP address validation to prevent SSRF
  • HTTP redirect validation, connection and read timeouts
  • Size limit for both remote images (with streaming download) and base64-decoded data URIs
Workarounds

Keep both enable_local_fetch=False and enable_remote_fetch=False (defaults) when processing untrusted HTML documents.

References
NVD (es)

Docling simplifica el procesamiento de documentos mediante el anĂ¡lisis de diversos formatos y al proporcionar integraciones con el ecosistema de IA generativa. Antes de la 2.94.0, el backend HTML maneja de forma insegura las URI y las rutas. Esta vulnerabilidad se corrige en la 2.94.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47214 changed 2026-06-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-q29v-xc37-wh5m changed 2026-10-19CC-BY-4.0
NVDCVE-2026-47214 changed 2026-10-25Public domain
PyPA Advisory DatabasePYSEC-2026-2146 changed 2026-07-13CC-BY-4.0