Unstructured
CVE-2025-64712
CRITICAL
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 9.8 with patch. The unstructured library is widely used in RAG (Retrieval Augmented Generation) pipelines for AI applications. Compromising document processing enables data theft or code injection. |
| Exploit ScenarioDerived | An attacker submits a crafted document to an AI application using the unstructured library, exploiting the path traversal to read sensitive configuration files or write a web shell. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
The unstructured Python library for document ingestion has a path traversal vulnerability allowing arbitrary file read/write during document processing.
Earlier versions of this analysis (1)
Path traversal in unstructured library enables arbitrary file access during document processing.
RemediationAI
Update the unstructured library. Validate file paths during document processing.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The unstructured library has a CWE-22 path traversal vulnerability that allows attackers to read or write arbitrary files on the server when processing crafted documents.
Know when Unstructured gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
Executive ViewAI
A critical vulnerability in the unstructured library could allow attackers to compromise systems processing documents (PDFs, Word files, HTML, images), potentially leading to unauthorized data access or system control. Organizations using this library for document ingestion or preprocessing face immediate risk of exploitation with minimal attacker effort.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Affected Products (CPE)GitHub Advisory
More in Unstructured
View allServer-side request forgery in the Unstructured-IO `unstructured` library (0.4.7 through versions before 0.24.0) lets an
Stored cross-site scripting in the Unstructured-IO unstructured Python library before 0.24.1 allows unauthenticated remo
GHSA-gm8q-m8mv-jj5m
NVD
CVE.org
EPSS
Exploit-DB