CVE-2025-64712: unstructured · Path Traversal
Affects unstructuredSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical : upgrade to 0.18.18 as a priority.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.18.18
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade unstructured to 0.18.18.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Unstructured-IOunstructured | Affected
| Fixed in
|
PyPIunstructuredpkg:pypi/unstructuredOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Immediate upgrade to unstructured library version 0.18.18 or later to apply the official patch addressing the path traversal vulnerability. 2. Implement strict input validation and sanitization for all document ingestion workflows, especially for MSG files and their attachments, to detect and block suspicious pathnames or malformed files. 3. Employ sandboxing or containerization for document processing components to limit filesystem access and contain potential exploitation impact. 4. Monitor file system changes and logs for unusual write activities originating from document processing services. 5. Conduct thorough code audits and dependency reviews to identify and remediate other potential path traversal or directory traversal issues. 6. Restrict permissions of the service account running the unstructured library to the minimum necessary, preventing unauthorized file system modifications outside designated directories. 7. Establish incident response procedures for rapid containment and remediation if exploitation is suspected. 8. Educate development and security teams about secure handling of untrusted document inputs and the importance of timely patching.
Description
The unstructured library provides open-source components for ingesting and pre-processing images and text documents, such as PDFs, HTML, Word docs, and many more. Prior to version 0.18.18, a path traversal vulnerability in the partition_msg function allows an attacker to write or overwrite arbitrary files on the filesystem when processing malicious MSG files with attachments. This issue has been patched in version 0.18.18.