CVE-2026-105743: Docling has SSRF guard bypass in remote resource fetching (DNS rebinding / multi-record resolution; no IP validation in HTML render mode)
When remote fetching is enabled (enable_remote_fetch=True, together with fetch_images=True or HTML render_page=True), docling’s protection against requests to private and loopback addresses can be bypassed.
- The URL check resolves the host name once, to a single IPv4 address. The HTTP request then resolves it again. A name that returns a public A record together with an internal AAAA record, or one that changes its answer between the two lookups (DNS rebinding), reaches internal addresses.
- The check and the HTTP request parse the URL differently. With a backslash in the authority, such as
http://127.0.0.1:8080\@1.1.1.1/x.png, the check validates1.1.1.1while the HTTP client connects to127.0.0.1:8080. - In HTML browser-rendering mode (
render_page=True), requests made by the page are allowed for anyhttp(s)URL without an IP check.
References
- github.com/advisories/GHSA-pc36-qwjq-x68c
- github.com/docling-project/docling/commit/5e469137f275ffc443306a30d12a3a45bceb80fb
- github.com/docling-project/docling/pull/4420
- github.com/docling-project/docling/releases/tag/v2.132.0
- github.com/docling-project/docling/security/advisories/GHSA-pc36-qwjq-x68c
- nvd.nist.gov/vuln/detail/CVE-2026-105743
Code Behaviors & Features
Detect and mitigate CVE-2026-105743 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →