Advisory

PYSEC-2026-2457

Also known as: CVE-2026-44023, GHSA-jmmv-h3mp-59v8

Summary

Docling Core: Unsafe remote filename resolution

Details

Impact
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.

Patches
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

Workarounds
If upgrading is not immediately possible, avoid passing untrusted URLs into remote fetch functionality.

References

Severity

High Basis: CVSS v3 score 8.6, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Dates

Published
2026-07-13 15:46 UTC
Modified
2026-07-13 16:31 UTC

Affected packages and fixes

docling-core

PyPI · All systems

Affected

  • introduced 1.5.0, fixed 2.74.1 (ecosystem)

Fixed versions

2.74.1

Fix

  • Fixed version 2.74.1
    pip install --upgrade docling-core==2.74.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences