In versions >= 1.5.0, < 2.74.1, docling-core did not sufficiently restrict remote request destinations and could resolve a server-provided Content-Disposition to a local path in an unsafe manner.
In applications that accept untrusted URLs, this could allow SSRF attacks targeting local files outside the user-defined cache directory.
Patched in docling-core 2.74.1.
The fix adds stricter validation for remote destinations and normalizes server-provided filenames before use.
Users should upgrade to:
- docling-core >= 2.74.1
If upgrading is not immediately possible, avoid passing untrusted URLs into remote fetch functionality.
v2.74.1{
"github_reviewed_at": "2026-06-03T21:16:25Z",
"severity": "HIGH",
"cwe_ids": [
"CWE-22",
"CWE-918"
],
"github_reviewed": true,
"nvd_published_at": null
}