Critical severityNVD Advisory· Published Feb 4, 2026· Updated Feb 4, 2026
Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write
CVE-2025-64712
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
unstructuredPyPI | < 0.18.18 | 0.18.18 |
Affected products
3- osv-coords2 versions
< 2.6.1-r4+ 1 more
- (no CPE)range: < 2.6.1-r4
- (no CPE)range: < 0.18.18
- Range: < 0.18.18
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-gm8q-m8mv-jj5mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-64712ghsaADVISORY
- github.com/Unstructured-IO/unstructured/commit/b01d35b2373fd087d2e15162b9c021663c97155dghsax_refsource_MISCWEB
- github.com/Unstructured-IO/unstructured/security/advisories/GHSA-gm8q-m8mv-jj5mghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.