CyberRota Analysis
AI-GeneratedThe InputFormat.JSON_DOCLING backend in Docling versions 2.16.0 to 2.131.0 is vulnerable due to improper validation of serialized DoclingDocument inputs, allowing local paths or file URIs in image references to be processed. This can lead to the disclosure of sensitive file paths or content when documents are enriched or exported, potentially exposing information that should remain confidential. Organizations using affected versions of Docling should prioritize updating to version 2.131.0 or later to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.16.0 until 2.131.0, the InputFormat.JSON_DOCLING backend in docling/backend/json/docling_json_backend.py validates serialized DoclingDocument input without rejecting picture image references that contain local paths or file URIs. When the document is enriched or exported with ImageRefMode.EMBEDDED, the DoclingDocument._with_embedded_pictures and ImageRef.pil_image methods can open those references and place readable image bytes in Markdown or HTML output. Disclosure is limited to files Pillow can decode as images, while differing decode behavior can also reveal whether a path exists. Direct untrusted loading through docling-core is outside this Docling fix. This issue is fixed in 2.131.0.
Related CVEs
Other vulnerabilities affecting the same vendor(s)