Vulnerability · Published Feb 4, 2026 · Assigned by GitHub_M
CVE-2025-64712Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write
Critical 9.8
In plain English
A critical-severity path traversal in unstructured from Unstructured-IO. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | unstructured | 0.18.18 | GHSA-gm8q-m8mv-jj5m |
| PyPI | unstructured | 0.18.18 | PYSEC-2026-558 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Unstructured-IO | unstructured | < 0.18.18 |
Weakness: CWE-22, CWE-73 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H