# Docling: Unsafe URI and Path Handling in HTML Backend

Advisory record · `GHSA-q29v-xc37-wh5m`

- **Identifiers:** `GHSA-q29v-xc37-wh5m` · `CVE-2026-47214` · `PYSEC-2026-2146`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-73](https://cwe.mitre.org/data/definitions/73.html) · [CWE-400](https://cwe.mitre.org/data/definitions/400.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md) · [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 3 Jun 2026
- **Updated:** 19 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 3 Jun 2026, 21:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `docling` (PyPI): affected `<2.94.0`; fixed in `2.94.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Docling versions before 2.94.0 have unsafe URI and path handling in the HTML backend, allowing local file access, path traversal, and server-side requests to internal network resources. An attacker who can supply HTML documents for processing may be able to read local files or reach internal resources, depending on whether local or remote fetching is enabled. Upgrade to Docling 2.94.0 or later. Until then, keep enable_local_fetch and enable_remote_fetch set to False, which are the defaults, when processing untrusted HTML.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.1 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0037, the 31st percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:08 UTC: First seen by agentprime
- 31 Oct 2026, 14:08 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-q29v-xc37-wh5m)

## Sources

- [GitHub Advisory Database: GHSA-q29v-xc37-wh5m](https://github.com/advisories/GHSA-q29v-xc37-wh5m)
- [OSV: GHSA-q29v-xc37-wh5m](https://osv.dev/vulnerability/GHSA-q29v-xc37-wh5m)
- <https://github.com/docling-project/docling/security/advisories/GHSA-q29v-xc37-wh5m>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47214>
- <https://github.com/docling-project/docling/pull/3400>
- <https://github.com/docling-project/docling/pull/3407>
- <https://github.com/docling-project/docling>
- <https://github.com/docling-project/docling/releases/tag/v2.91.0>
- <https://github.com/docling-project/docling/releases/tag/v2.94.0>
- <https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-2146.yaml>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-q29v-xc37-wh5m>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-q29v-xc37-wh5m/>. Everything for agents: <https://agentprime.io/llms.txt>.
