CVE-2025-64712 PUBLISHED

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

Assigner: GitHub_M
Reserved: 10.11.2025 Published: 04.02.2026 Updated: 04.02.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor Unstructured-IO
Product unstructured
Versions
  • Version < 0.18.18 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE
  • CWE-73: External Control of File Name or Path CWE