Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. unstructured
  4. ›
  5. CVE-2025-64712

CVE-2025-64712: Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write

February 3, 2026

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.

References

  • github.com/Unstructured-IO/unstructured
  • github.com/Unstructured-IO/unstructured/commit/b01d35b2373fd087d2e15162b9c021663c97155d
  • github.com/Unstructured-IO/unstructured/security/advisories/GHSA-gm8q-m8mv-jj5m
  • github.com/advisories/GHSA-gm8q-m8mv-jj5m
  • nvd.nist.gov/vuln/detail/CVE-2025-64712

Code Behaviors & Features

Detect and mitigate CVE-2025-64712 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.18.18

Fixed versions

  • 0.18.18

Solution

Upgrade to version 0.18.18 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

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

Source file

pypi/unstructured/CVE-2025-64712.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:11 +0000.