The vulnerability is a Server-Side Request Forgery (SSRF) in the docling-graph library. It stems from insufficient validation of user-provided URLs. The analysis of the security patch (commit 55c0a63ada21592b79c8858020414e75abb77c3a) reveals two key functions involved in the vulnerability. First, URLValidator.validate performed only superficial checks on the URL's structure, failing to resolve the domain and inspect the resulting IP address. This allowed malicious URLs pointing to internal network resources to pass the initial validation. Second, URLInputHandler.handle would then process this URL. This function made an HTTP request with allow_redirects=True, meaning if an attacker provided a URL that redirected to an internal service (like a cloud metadata endpoint), the server would blindly follow it. The combination of these two weaknesses allowed for the SSRF. The patch addresses both issues by adding strict IP address validation (blocking private, loopback, and other restricted ranges) in URLValidator.validate and by disabling automatic redirects in URLInputHandler.handle, replacing it with a manual, validated redirect-following mechanism.