---
title: "CVE-2025-64712: Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write"
url: https://erroneo.us/security/cve/CVE-2025-64712/
description: "CVE-2025-64712 (unstructured (PyPI)): The unstructured library provides open-source components for ingesting and pre-processing images and text documents…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-02-04
date_modified: 2026-02-04
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-64712"
kev: false
cvss: 9.8
epss: 0.00671
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.7% , percentile 51: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 51% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes unstructured (PyPI) <= 0.18.17, fixed in 0.18.18 . Check your lockfile, including transitive dependencies.

## What it is

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 partitionmsg 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.

## Affected packages

- PyPI `unstructured` <= 0.18.17 → fixed: 0.18.18

## Affected products (CVE record)

- Unstructured-IO unstructured: < 0.18.18

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.67% probability of exploitation activity in the next 30 days; percentile 51.

## Sources

- [GitHub Advisory GHSA-gm8q-m8mv-jj5m](https://github.com/advisories/GHSA-gm8q-m8mv-jj5m)
- [CVE.org record CVE-2025-64712](https://www.cve.org/CVERecord?id=CVE-2025-64712)
- [NVD entry CVE-2025-64712](https://nvd.nist.gov/vuln/detail/CVE-2025-64712)
- [github.com](https://github.com/Unstructured-IO/unstructured/security/advisories/GHSA-gm8q-m8mv-jj5m)
- [github.com](https://github.com/Unstructured-IO/unstructured/commit/b01d35b2373fd087d2e15162b9c021663c97155d)

---
Source page: https://erroneo.us/security/cve/CVE-2025-64712/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
