Skip to main content

docling-core CVE-2026-44023

HIGH
Path Traversal (CWE-22)
2026-06-03 https://github.com/docling-project/docling-core GHSA-jmmv-h3mp-59v8
8.6
CVSS 3.1 · Vendor: https://github.com/docling-project/docling-core
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app ingesting user URLs via docling-core
  2. Delivery
    Host malicious endpoint with crafted Content-Disposition
  3. Exploit
    Submit attacker URL to vulnerable application
  4. Execution
    docling-core fetches and resolves server filename
  5. Persist
    Library writes payload outside cache directory
  6. Impact
    Access sensitive files or overwrite app resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a calling application using docling-core versions >= 1.5.0 and < 2.74.1 pass an attacker-controlled or attacker-influenceable URL into the library's remote fetch functionality, and that the library then process the server-supplied Content-Disposition header to derive a local destination filename. The attacker must control the HTTP response (either by hosting the URL or by compromising/MITMing the upstream server) so they can return a malicious Content-Disposition value. No authentication or user interaction on the target host is required (PR:N/UI:N), and the attack is network-reachable (AV:N). Limiting factors: applications that only accept URLs from a hardcoded allowlist of trusted domains, or that override/ignore Content-Disposition when naming cached files, materially reduce or eliminate exposure; the impact is also bounded to file write/read within the process's filesystem permissions rather than direct code execution, per the C:H/I:L/A:L vector.

Impact

The CVSS:3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L produces an 8.6 base score, reflecting network reach, low complexity, and no authentication or user interaction - but with only High confidentiality and Low integrity/availability impact, consistent with reading arbitrary local files and writing files to attacker-influenced paths rather than full code execution. The vulnerability is not listed in CISA KEV and no public exploit identified at time of analysis; EPSS data was not provided. Real-world risk is highly dependent on deployment: applications that pass user-controlled or third-party URLs into docling-core's remote fetch path are directly exposed, while pipelines that only ingest URLs from a trusted allowlist face minimal practical risk. The CVSS vector marks the attack as network-reachable, but exploitation in practice requires that a calling application route an attacker-influenced URL into the vulnerable fetch - verify deployment shape before treating the 8.6 score as the operative priority signal.

Exploit ScenarioDerived

An attacker hosts a malicious HTTP endpoint (or compromises a third-party document host) that returns a Content-Disposition header crafted with traversal sequences pointing outside the docling-core cache directory. A victim application - for example, a document-ingestion service or RAG indexer that accepts user-submitted URLs and passes them to docling-core - fetches the attacker's URL, and the library writes the response payload to an attacker-chosen path on disk, while related SSRF behavior allows probing of internal services reachable from the host. No public exploit identified at time of analysis, but the bug is straightforward to weaponize given the network attack vector and absence of authentication or user interaction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 03, 2026

Server-Side Request Forgery and path traversal in docling-core versions 1.5.0 through 2.74.0 allow remote attackers to coerce the library into writing files outside the user-defined cache directory by manipulating server-controlled Content-Disposition headers when applications fetch untrusted URLs. The flaw stems from insufficient validation of remote request destinations combined with unsafe resolution of server-supplied filenames. No public exploit identified at time of analysis, but the network-reachable, unauthenticated nature of the bug (CVSS 8.6) makes it a meaningful supply-chain concern for Python applications integrating docling-core for document processing.

RemediationAI

Vendor-released patch: docling-core 2.74.1, which adds stricter remote destination validation and normalizes server-provided filenames before they are used to construct local paths (see release notes at https://github.com/docling-project/docling-core/releases/tag/v2.74.1 and fix commit 473fbac via PR #591). Pin or upgrade to docling-core >= 2.74.1 in requirements files, lockfiles, and container images, and rebuild any wheels or downstream images that vendor the older version. If immediate upgrade is not possible, the vendor workaround is to avoid passing untrusted URLs into docling-core's remote fetch functionality - practically, this means restricting input URLs to a vetted allowlist of domains, stripping or ignoring untrusted Content-Disposition headers at an upstream proxy, and confining the process to a sandboxed cache directory (e.g., a dedicated tmpfs mount or container volume) so any residual write traversal stays contained. The trade-off is reduced flexibility for legitimate user-supplied document URLs and added operational overhead maintaining the allowlist, so prioritize the upgrade as the durable fix. Reference the GitHub advisory GHSA-jmmv-h3mp-59v8 for the canonical fix metadata.

Affected Packages

pypi docling-core fix: 2.74.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

docling-core is a Python package (pkg:pip/docling-core) published by the docling-project, providing document conversion and remote asset fetching utilities used in document-AI / RAG pipelines. The vulnerability sits at the intersection of CWE-22 (Path Traversal) and SSRF: when the library fetches a remote resource, it trusts the server-provided Content-Disposition header to derive a destination filename and does not adequately normalize that filename, nor does it sufficiently constrain the URL destinations it will follow. Because filename normalization happens after resolution, a malicious or compromised upstream server can return a Content-Disposition value that escapes the intended cache directory via traversal sequences, and the loose URL handling expands the SSRF surface for the fetch itself. The 2.74.1 fix (commit 473fbac, PR #591) tightens both the URL destination validation and filename normalization.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/docling-project/docling-core) PRIMARY 8.6 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Primary rating from Vendor (https://github.com/docling-project/docling-core) · only source for this CVE.

CVSS VectorVendor: https://github.com/docling-project/docling-core

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

A critical supply-chain vulnerability in docling-core (versions 1.5.0-2.74.0) allows remote attackers to write files to arbitrary locations within systems using this Python library, creating potential pathways for data theft or system compromise. The vulnerability is unauthenticated and remotely exploitable (CVSS 8.6), though no public exploit has been identified at time of analysis. Python-dependent organizations should immediately inventory usage and implement temporary controls while awaiting vendor patches.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Process only trusted documents within docling-core; (2) Deploy in sandboxed or containerized environment with restricted filesystem access; (3) Monitor for unauthorized file creation outside designated paths; (4) Disable untrusted URL document fetching if not operationally required; (5) Implement input validation on document sources and Content-Disposition headers at application layer.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)CVE.org

pkg:pip/docling-core

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy