Vulnerability in docling
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-105750 has been found in docling.
Attackers can target a specific entry point like enable_local_fetch over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 5.9/10.
What to do: upgrade docling to 2.118.1 or later.
If unsure, ask your IT team or search "docling CVE-2026-105750" on the vendor's site.
CVE-2026-105750 (docling) — CWE-552 / CVSS v3 5.9
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: enable_local_fetch / DoclingDocument / ImageResourceLoader / Path
Patched: 2.118.1 — apply immediately
Workaround: If you can't upgrade, don't use render_page=True on untrusted HTML, or pass the input as a stream instead of a Path.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-552) exists in docling. Attackers reach the vulnerable code path via enable_local_fetch without authentication.
Check the vendor advisory for the affected versions of docling. Attack surface: enable_local_fetch / DoclingDocument / ImageResourceLoader / Path.
Severity: Medium (CVSS 5.9/10). Confidential information can be exposed externally.
Update to 2.118.1.
Workaround: If you can't upgrade, don't use render_page=True on untrusted HTML, or pass the input as a stream instead of a Path.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'docling' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'docling' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
doclingを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
If you can't upgrade, don't use `render_page=True` on untrusted HTML, or pass the input as a stream instead of a `Path`.パッチが適用されるまでの応急処置として、If you can't upgrade, don't use
render_page=Trueon untrusted HTML, or pass the input as a stream instead of aPath. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3
Apply patchpatch
Upgrade docling to 2.118.1ステージング環境で 2.118.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pipdocling |
< 2.118.1→ 2.118.1 |
2.118.1 |
| pipdocling-slim |
< 2.118.1→ 2.118.1 |
2.118.1 |
| PyPIdocling |
≥ 2.82.0, < 2.118.1→ 2.118.1 |
2.118.1 |
| PyPIdocling-slim |
≥ 2.92.0, < 2.118.1→ 2.118.1 |
2.118.1 |
Original description The description as published by the source.
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.82.0 until 2.118.1, HTMLBackendOptions(render_page=True) permits file URLs because HTMLDocumentBackend._get_browser_request_block_reason does not enforce the enable_local_fetch setting or confine local requests to the source document directory. Crafted path-backed HTML can embed a readable local text file in a browser-rendered page image when Playwright is installed. Only filesystem Path inputs are affected because stream inputs use an opaque origin, and the default configuration, command-line interface, docling-serve, and non-rendering backends are not affected. This issue is fixed in 2.118.1.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- package pypi.org
- patch github.com
- patch github.com
- web github.com