ADVISORIES

Vulnerability

CVE-2025-64712

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.

3 advisories report this vulnerability, across 2 ecosystems.

Critical severity All PyPI 2Chainguard 1

Advisories

  • CGA-7hcv-6p8r-72jw
    CVE-2025-64712 Chainguard Updated 5 November 2026
  • GHSA-gm8q-m8mv-jj5m

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

    Critical CVE-2025-64712 PyPI Updated 10 September 2026
  • PYSEC-2026-558

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

    CVE-2025-64712 PyPI Updated 13 July 2026

References