Vulnerability · Published May 14, 2026 · Assigned by GitHub_M
CVE-2026-44520Docling-Graph: SSRF via Missing Internal IP Validation in URLInputHandler
Medium 5.7
In plain English
A medium-severity open redirect in docling-graph from docling-project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | docling-graph | 1.5.1 | GHSA-fqph-j6v6-jvgx |
| PyPI | docling-graph | 1.5.1 | PYSEC-2026-2458 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| docling-project | docling-graph | < 1.5.1 |
Weakness: CWE-601, CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N