Skip to content
OpenAdvisories
Critical · 9.8 CVE-2025-64712 EUVD-2025-206785GHSA-gm8q-m8mv-jj5mPYSEC-2026-558

Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write

Published Feb 4, 2026 · Updated Feb 4, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
Unstructured-IO unstructured < 0.18.18 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI unstructured < 0.18.18 0.18.18 GHSA-gm8q-m8mv-jj5m

References