Read the docs
TI-2025-40058 Aliases CVE-2025-64712GHSA-gm8q-m8mv-jj5m

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

Priority MEDIUM 50CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00687 52nd percentileScored 2026-11-07
Fix Fixed unstructured (Unstructured-IO): 0.18.18unstructured (PyPI): 0.18.18

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Unstructured-IOunstructuredbefore 0.18.180.18.18Patch availableCNA
—unstructured (PyPI)before 0.18.180.18.18Patch availableGHSA-gm8q-m8mv-jj5m
  • unstructured VendorUnstructured-IO Affected before 0.18.18 Fixed in 0.18.18 Patch available CNA
  • unstructured (PyPI) Vendor— Affected before 0.18.18 Fixed in 0.18.18 Patch available GHSA-gm8q-m8mv-jj5m

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:unstructured:unstructured:*:*:*:*:*:python:*:*before 0.18.18VulnerableUnstructured
  • cpe:2.3:a:unstructured:unstructured:*:*:*:*:*:python:*:* Versions before 0.18.18 Vulnerable ·Unstructured

Remediation

  • Fix · CNA unstructured (Unstructured-IO) Fixed in 0.18.18
  • Fix · GHSA-gm8q-m8mv-jj5m unstructured (PyPI) Fixed in 0.18.18 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-64712
  2. 2026-10-03 Alias added: GHSA-gm8q-m8mv-jj5m

References

  • TI-2026-50050 unstructured: Server-Side Request Forgery in the URL-based partitioning CVSS 3.1CRITICAL 9.3
  • TI-2026-71944 Stored cross-site scripting in unstructured HTML generation CVSS 3.1MEDIUM 6.1

Sources