# CVE-2026-71428: Unstructured partition server-side request forgery

Source: https://junglewise.ai/threats/cve-2026-71428-unstructured-partition-server-side-request-forgery  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-20. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-71428 · Severity: critical · CVSS 9.3 · Published 2026-08-20

Unstructured is a Python library used to parse and extract text from various document formats, widely integrated into AI frameworks like LangChain and LlamaIndex. The library's URL-based document parsing functions contain a critical vulnerability that allows attackers to read internal services, cloud metadata endpoints (AWS, GCP, Azure), and sensitive credentials without authentication. An attacker can supply a malicious URL pointing to internal network resources or cloud metadata services, and the response body is returned to the attacker, enabling full data exfiltration.

Technologies: [unstructured (PyPI)](https://junglewise.ai/threats/technologies/unstructured). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-71428 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-71428 being exploited in the wild.

**How severe is CVE-2026-71428?** Critical severity, with a CVSS score of 9.3, published 20 August 2026.

**Which products and versions are affected?** unstructured (PyPI) >= 0.4.7, < 0.24.0, ECOSYSTEM:introduced=0.4.7,fixed=0.24.0.

**Is there a fix for CVE-2026-71428?** Yes. unstructured (PyPI): upgrade to 0.24.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-71428 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-71428?** Check whether you run unstructured (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- unstructured (PyPI): upgrade to 0.24.0 or later

  ```sh
  pip install "unstructured>=0.24.0"
  ```


## Technical details

A full-read server-side request forgery (SSRF) vulnerability exists in three URL fetching functions: `partition()` via `file_and_type_from_url()` (unstructured/partition/auto.py:303), `partition_html()` (unstructured/partition/html/partition.py:160), and `partition_md()` (unstructured/partition/md.py:96). The `url=` parameter is fetched via `requests.get()` with no validation of the target host, allowing attackers to specify private IP addresses, redirect chains, or use DNS rebinding to reach internal services. The response body is returned as Element text, enabling full content exfiltration. No host validation (is_private, is_loopback, ipaddress checks) or redirect restrictions exist in any of the three vulnerable functions. Exploitation requires only a network-reachable application using these functions; no authentication or user interaction is required. Affected versions 0.4.7 through 0.23.x (approximately 219 releases) have contained the vulnerability since February 2023. Version 0.24.0 and later contain the fix.

## Affected products

- Unstructured-IO unstructured >= 0.4.7, < 0.24.0

## Identifiers

- CVE-2026-71428
- GHSA-4mvj-m6j5-pmf7
- PYSEC-2026-3930

## Timeline

- 2026-09-03: disclosed: Vulnerability disclosed on GitHub Advisory Database
- 2026-07-10: patched: Patch released in version 0.24.0; GitHub review timestamp
- 2023-02: other: Vulnerability introduced in version 0.4.7 (February 2023)

## References

- [https://api.github.com/users/hayato1121](https://api.github.com/users/hayato1121)
- [https://github.com/hayato1121](https://github.com/hayato1121)
- [https://api.github.com/users/hayato1121/gists%7B/gist_id%7D](https://api.github.com/users/hayato1121/gists%7B/gist_id%7D)
- [https://api.github.com/users/hayato1121/repos](https://api.github.com/users/hayato1121/repos)
- [https://avatars.githubusercontent.com/u/19756064?v=4](https://avatars.githubusercontent.com/u/19756064?v=4)
- [https://api.github.com/users/hayato1121/events%7B/privacy%7D](https://api.github.com/users/hayato1121/events%7B/privacy%7D)

## Related threats

- [unstructured library stored XSS via unescaped HTML generation](https://junglewise.ai/threats/cve-2026-104250-unstructured-stored-xss-via-unescaped-html-generation)
- [PYSEC-2026-558 - Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write](https://junglewise.ai/threats/cve-2025-64712-unstructured-has-path-traversal-via-malicious-msg-attachment-that)
- [GO-2024-3315 - in github.com/Unstructured-IO/unstructured](https://junglewise.ai/threats/cve-2024-46455-unstructured-xml-external-entity-injection-in-xmlparser)
