Docling Core has unsafe remote filename resolution
docling-project docling-core
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| docling-core PyPI |
|
|
Original description
Docling Core defines core data types and transformations for the document processing application Docling. In versions 1.5.0 and above, prior to 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. This issue has been fixed in version 2.74.1.
From the CVE record · GitHub_M