Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unstructured-IO | unstructured | before 0.18.18 | 0.18.18 | Patch available | CNA |
| — | unstructured (PyPI) | before 0.18.18 | 0.18.18 | Patch available | GHSA-gm8q-m8mv-jj5m |
- unstructured VendorUnstructured-IO Affected before 0.18.18 Fixed in 0.18.18 Patch available CNA
- unstructured (PyPI) Vendor— Affected before 0.18.18 Fixed in 0.18.18 Patch available GHSA-gm8q-m8mv-jj5m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:unstructured:unstructured:*:*:*:*:*:python:*:* | before 0.18.18 | Vulnerable | Unstructured |
- cpe:2.3:a:unstructured:unstructured:*:*:*:*:*:python:*:* Versions before 0.18.18 Vulnerable ·Unstructured
Remediation
- Fix · CNA unstructured (Unstructured-IO) Fixed in 0.18.18
- Fix · GHSA-gm8q-m8mv-jj5m unstructured (PyPI) Fixed in 0.18.18 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-64712
- 2026-10-03 Alias added: GHSA-gm8q-m8mv-jj5m
References
Patch 1
Advisory 2
More Unstructured-IO vulnerabilities
- TI-2026-50050 unstructured: Server-Side Request Forgery in the URL-based partitioning CVSS 3.1CRITICAL 9.3
- TI-2026-71944 Stored cross-site scripting in unstructured HTML generation CVSS 3.1MEDIUM 6.1
Sources
- CVE-2025-64712 · CVE Program
- CVE-2025-64712 · NVD
- FIRST EPSS
- GHSA-gm8q-m8mv-jj5m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences