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 package | Versions | Reported by |
|---|---|---|
| docling-project docling | < 2.94.0 | CVE List |
| docling (PyPI) | before 2.94.0 | GitHub Advisory Database, PyPA Advisory Database |
| docling docling | before 2.94.0 | NVD |
All scores
| GitHub_M | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L |
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L |
| PyPA Advisory Database | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L |
Classification
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 whenenable_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 configuredbase_pathfor 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-47214 changed 2026-06-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q29v-xc37-wh5m changed 2026-10-19 | CC-BY-4.0 |
| NVD | CVE-2026-47214 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2146 changed 2026-07-13 | CC-BY-4.0 |