Update docling to v2.94.0 [SECURITY] - #9
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
requested review from
a team,
gabemontero,
maysunfaisal and
thepetk
as code owners
September 8, 2026 14:52
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate
Bot
force-pushed
the
renovate/pypi-docling-vulnerability
branch
from
September 19, 2026 15:10
4e4006c to
35a4116
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.66.0→2.94.0Docling: Unsafe Zip Extraction in EasyOCR Model Download
CVE-2026-44017 / GHSA-cjqg-rq2h-2fvj
More information
Details
Impact
In versions
< 2.91.0, The EasyOCR model download functionality extracted ZIP archives without validating member paths, enabling Zip Slip attacks. If an attacker could compromise the model download source (via supply chain attack, DNS spoofing, or MITM), they could write arbitrary files to any location writable by the process, potentially achieving:Patches
Fixed in version 2.91.0. The extraction process now validates each archive member path using
os.path.realpath()to ensure it remains within the target directory, raising aSecurityErrorfor any path traversal attempts.Workarounds
Ensure model downloads occur over secure, authenticated channels. Use integrity verification (checksums) for downloaded models. Run the application with minimal file system permissions.
References
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Docling: Unsafe Archive Extraction and XML Parsing in METS-GBS Backend
CVE-2026-44018 / GHSA-r3xg-rg9j-67fv
More information
Details
Impact
The METS-GBS backend's XML parsing and the input document format detection lacked security controls, enabling:
An attacker could craft malicious METS-GBS archives that, when processed, could read sensitive files, exhaust system resources, or cause application crashes.
Patches
Fixed in version 2.91.0. The fix implements:
resolve_entities=False,load_dtd=False, andno_network=True_detect_mets_gbs()method: maximum file size (10 MB per file), maximum member count (1000 members), and exception handling to gracefully fail when limits are exceededWorkarounds
Avoid processing METS-GBS archives from untrusted sources. If necessary, pre-validate archives in an isolated environment with resource limits.
References
Severity
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Docling: Unsafe XML Entity Expansion in USPTO Patent Backend
CVE-2026-44020 / GHSA-m88r-rg27-5xfg
More information
Details
Impact
The USPTO patent XML parser used the standard
xml.sax.parseString()without protection against XML External Entity (XXE) attacks. An attacker could craft malicious USPTO patent XML files with external entity references that could:The vulnerability affects three USPTO patent format parsers: ICE (v4.x), Grant v2.5, and Application v1.x.
Patches
Fixed in version 2.74.0. The parser now uses
defusedxml.sax.make_parser()with secure configuration that blocks external entity resolution (feature_external_ges=False,feature_external_pes=False) while allowing DTD declarations required by USPTO files. This prevents XXE attacks while maintaining compatibility with the USPTO XML format.Workarounds
Avoid processing USPTO patent XML files from untrusted sources. Implement resource limits (memory, CPU time) when processing patent documents.
References
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Docling: Unsafe URI and Path Handling in HTML Backend
CVE-2026-47214 / GHSA-q29v-xc37-wh5m
More information
Details
Impact
The HTML backend did not perform sufficient validation during resource handling:
file://URIs enabling local file system access whenenable_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 configuredbase_pathfor path traversal protectionfile://scheme stripped & treated as local path (above)Workarounds
Keep both
enable_local_fetch=Falseandenable_remote_fetch=False(defaults) when processing untrusted HTML documents.References
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
docling-project/docling (docling)
v2.94.0Compare Source
Feature
eceedc2)5fadc6d)b5f2e53)336f942)Fix
81afde8)52d4887)ab6aa05)038b991)bcd5509)694cf0c)0c31706)64ddeb6)aba7f15)eb6e1e6)2bb0fa6)6b3322e)Documentation
46763a1)24af7f6)df5fbc3)v2.93.0Compare Source
Feature
24f2d14)Fix
e00735d)v2.92.0Compare Source
Feature
8b67fae)c455a65)ed32c5e)0f6f8d0)Fix
7294248)3df80e7)a6a37ca)v2.91.0Compare Source
Feature
2ddaa3b)Fix
c1dbac2)5e161ac)c190ba2)cd0cb69)9813190)v2.90.0Compare Source
Feature
1569e42)Fix
101233e)c761512)3bab6b4)8274892)043ed2d)Documentation
8ec14f2)v2.89.0Compare Source
Feature
a15c16e)Fix
251c8b2)740c386)5b84911)Documentation
cd2e5b6)Performance
a64c378)v2.88.0Compare Source
Feature
42157a3)Fix
6b257ec)Documentation
c23622f)v2.87.0Compare Source
Feature
9970d1e)Fix
d431224)27d3cf4)a6aeddf)6cb1bc0)e4fd937)9c3ab93)ab5254d)Documentation
1fed840)v2.86.0Compare Source
Feature
fd83420)9b4b67b)6699642)Fix
6180925)Documentation
d5af473)v2.85.0Compare Source
Feature
d0e19be)f2affd7)Fix
77a2505)v2.84.0Compare Source
Feature
a9265d8)d046390)e9a39e8)v2.83.0Compare Source
Feature
d2c6357)8522b00)Fix
524edcc)85ac377)89c68f8)f283484)Documentation
3a64f41)v2.82.0Compare Source
Feature
1c74a9b)Fix
e36125b)a0fc3c9)90d6dd4)fdf5e20)f0e3d1d)5473e07)9abf0fd)Documentation
fffd445)v2.81.0Compare Source
Feature
96d7c7e)Fix
2f7c09e)afb4bb6)8ae0974)a39317a)412af62)53a5f80)1e841eb)v2.80.0Compare Source
Feature
f950679)v2.79.0Compare Source
Feature
7952efe)Fix
93f6fee)2a0e11f)198d0af)fef01f8)v2.78.0Compare Source
Feature
4ccd1d4)3d90778)Fix
80f75b8)5188180)1192714)ee16285)Documentation
d113e61)95b759e)5d3ac38)v2.77.0Compare Source
Feature
38c4bb2)cfc6636)Fix
cd9dd10)56f06fe)f7cb304)56eb127)68336c2)Documentation
653940e)8b99085)v2.76.0Compare Source
Feature
d276e60)Fix
859c302)6198e69)477359b)90ce93d)a3d2b4b)Documentation
7aacc6c)672125c)1321b39)1eb5c21)v2.75.0Compare Source
Feature
334ba6e)0353293)Fix
6b824f8)236216e)v2.74.0Compare Source
Feature
bf417e6)Fix
576bada)a1b0e3f)dbba6ea)v2.73.1Compare Source
Fix
86b6912)e2870f9)1f91482)v2.73.0Compare Source
Feature
14e474c)e6ccb8b)d4c8713)Fix
9721321)ae4fdbb)Documentation
704ef0a)v2.72.0Compare Source
Feature
fe45c71)Fix
3110c43)5e452a2)Documentation
a5ad8f2)v2.71.0Compare Source
Feature
0602a7c)b6ca094)Fix
6f205ae](https://redirect.github.com/docling-project/docling/commit/6f205ae2119fe694abaf200df5662837Configuration
📅 Schedule: (in timezone America/Toronto)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.