docling
Affected
- introduced
0, fixed2.94.0(ecosystem)
Fixed versions
2.94.0
Fix
- Fixed version
2.94.0pip install --upgrade docling==2.94.0
Advisory
Also known as: CVE-2026-47214, PYSEC-2026-2146
Docling: Unsafe URI and Path Handling in HTML Backend
Impact
The HTML backend did not perform sufficient validation during resource handling:
file:// URIs enabling local file system access when enable_local_fetch=True../ sequences and absolute pathsenable_remote_fetch=Truedata: URIsPatches
Fixed in versions 2.91.0 (initial fixes) and 2.94.0 (additional improvements). The fixes implement:
enable_local_fetch=True (default: False) and containment within configured base_path for path traversal protectionfile:// scheme stripped & treated as local path (above)Workarounds
Keep both enable_local_fetch=False and enable_remote_fetch=False (defaults) when processing untrusted HTML documents.
References
High Basis: The source's own band: HIGH
0, fixed 2.94.0 (ecosystem)2.94.0
2.94.0pip install --upgrade docling==2.94.0Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0