Skip to content

CVE-2026-44520 Docling-Graph: SSRF via Missing Internal IP Validation in URLInputHandler

MediumCVSS 5.7 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known

Description

Docling-Graph turns documents into validated Pydantic objects, then builds a directed knowledge graph with explicit semantic relationships. Prior to 1.5.1, the URLInputHandler class in docling_graph/core/input/handlers.py makes HTTP requests to user-supplied URLs without validating whether the target resolves to a private, loopback, or link-local IP address. The URLValidator only checks for a valid scheme and non-empty netloc, performing no IP-level validation. Additionally, requests.head() was called with allow_redirects=True, allowing an attacker to redirect requests to internal endpoints via an intermediary URL. An attacker who can control the --source CLI argument or PipelineConfig.source API parameter can trigger Server-Side Request Forgery (SSRF). This vulnerability is fixed in 1.5.1.

Affected products

ProductAffected versionsFixed in
pypi docling-graph(PyPI) < 1.5.1 1.5.1
pypi docling-graph(PyPI) = 0.2.4 No fix listed
pypi docling-graph(PyPI) = 0.2.5 No fix listed
pypi docling-graph(PyPI) = 0.3.0 No fix listed
pypi docling-graph(PyPI) = 0.4.0 No fix listed
pypi docling-graph(PyPI) = 0.4.1 No fix listed
pypi docling-graph(PyPI) = 1.0.0 No fix listed
pypi docling-graph(PyPI) = 1.1.0 No fix listed
pypi docling-graph(PyPI) = 1.2.0 No fix listed
pypi docling-graph(PyPI) = 1.2.1 No fix listed
pypi docling-graph(PyPI) = 1.2.2 No fix listed
pypi docling-graph(PyPI) = 1.2.3 No fix listed
pypi docling-graph(PyPI) = 1.2.4 No fix listed
pypi docling-graph(PyPI) = 1.3.0 No fix listed
pypi docling-graph(PyPI) = 1.3.1 No fix listed
pypi docling-graph(PyPI) = 1.4.0 No fix listed
pypi docling-graph(PyPI) = 1.4.3 No fix listed
pypi docling-graph(PyPI) = 1.4.4 No fix listed
pypi docling-graph(PyPI) = 1.5.0 No fix listed
docling-project docling-graph = < 1.5.1 No fix listed
pypi docling-graph(PyPI) <= 1.5.0 No fix listed

References