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.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.7%top 47.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIunstructured0.18.18GHSA-gm8q-m8mv-jj5m
PyPIunstructured0.18.18PYSEC-2026-558

Affected products (as reported)

VendorProductVersions
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

References