Skip to content
HighVulnerability

GHSA-jmmv-h3mp-59v8: Docling Core: Unsafe remote filename resolution

Published
Record updated
View JSON
Affected
  • docling-core >= 1.5.0, < 2.74.1
Fixed in
2.74.1
  • released April 22, 2026, 42 days before disclosure

Summary

In docling-core versions >= 1.5.0 and < 2.74.1, the library did not sufficiently restrict remote request destinations and could resolve a server-provided Content-Disposition to a local path unsafely. In applications that accept untrusted URLs, this could allow SSRF attacks targeting local files outside the user-defined cache directory.

Mitigation

Patched in docling-core 2.74.1, which 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.