CVE-2025-64712
Unknown Unknown - Not Provided
Path Traversal in unstructured Library Allows Arbitrary File Overwrite

Publication date: 2026-02-04

Last updated on: 2026-02-27

Assigner: GitHub, Inc.

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-04
Last Modified
2026-02-27
Generated
2026-06-16
AI Q&A
2026-02-04
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
unstructured unstructured to 0.18.18 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the unstructured library, which is used for ingesting and pre-processing various document types like PDFs, HTML, Word documents, and MSG files. Specifically, before version 0.18.18, there was a path traversal vulnerability in the partition_msg function. This flaw allows an attacker to write or overwrite arbitrary files on the filesystem by processing specially crafted malicious MSG files with attachments.

Impact Analysis

The vulnerability can have severe impacts because it allows an attacker to write or overwrite any file on the system without any privileges or user interaction. This can lead to complete system compromise, including the ability to execute arbitrary code, disrupt system availability, and compromise confidentiality and integrity of data.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, you should upgrade the unstructured library to version 0.18.18 or later, where the path traversal issue in the partition_msg function has been patched.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-64712. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart