CVE-2025-64712CWE-22CWE-73

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

Critical · published February 4, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
51.4
In the wild
Unconfirmed
What it is

🚨 A sneaky path traversal vulnerability has been found in the unstructured library, allowing attackers to write or overwrite any file on your filesystem with the flick of a malicious MSG! 🔥 Think of it like a mischievous delivery driver who can drop off packages anywhere in your house, not just at the front door. They could replace important documents or even leave a nasty surprise under your bed! If exploited, this vulnerability could allow an attacker to take control of your server by overwriting critical system files or injecting malicious code, posing an absolute nightmare for your data integrity. The consequences could be devastating—an attacker could wreak havoc without ever being seen!

Put simply

Think of it like a mischievous delivery driver who can drop off packages anywhere in your house, not just at the front door. They could replace important documents or even leave a nasty surprise under your bed! This path traversal flaw in the partition_msg function of the unstructured library enables attackers to navigate the filesystem and manipulate files when processing specially crafted MSG files. Versions prior to 0.18.18 are vulnerable, as the function does not correctly validate file paths.

What to do

If exploited, this vulnerability could allow an attacker to take control of your server by overwriting critical system files or injecting malicious code, posing an absolute nightmare for your data integrity. The consequences could be devastating—an attacker could wreak havoc without ever being seen! To protect your systems, immediately upgrade to version 0.18.18 or later. Conduct thorough audits on your file handling processes to ensure no further vulnerabilities are lurking. Don't forget to review your security settings to tighten them up! You've got this! With a quick update and some diligence, you can lock this down and keep your system secure. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00671 · 51.4th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-73 · External Control of File Name or Path
Published
2026-02-04T17:34Z
EPSS history
Timeline
  • 04 FEB 17:34Z
    Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write
    cvelistv5