CVE-2026-71428: Server-Side Request Forgery in unstructured Package

unstructured Updated 03 Sep 2026

Summary

03/09/2026
Yes i
Critical
9.3

CVE-2026-71428: unstructured: Server-Side Request Forgery in the URL-based partitioning. Affects unstructured versions >= 0.4.7, < 0.24.0. Fixed in 0.24.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The unstructured package is a widely used library in Python for processing and ingesting data from various URL sources. It serves as a crucial component for frameworks like LangChain's UnstructuredURLLoader and LlamaIndex's UnstructuredReader. The package allows users to partition and analyze content from URLs, making it essential for applications that rely on web data. However, a critical vulnerability has been identified that exposes users to potential security risks.

Vulnerability Detail

The vulnerability arises from a Server-Side Request Forgery (SSRF) in the unstructured package, specifically in the methods partition(), partition_html(), and partition_md(). The issue is rooted in the lack of host validation when fetching URLs via requests.get(). This oversight allows attackers to exploit the package to access internal services, loopback admin APIs, and cloud metadata endpoints. The vulnerability has been present since version 0.4.7 and affects all subsequent releases up to 0.22.26, posing a significant risk of unauthorized data access and potential internal network reconnaissance.

How To Fix

Latest published version: 0.27.33 as of 22 Oct 2026

pip install --upgrade "unstructured==0.27.33"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.24.0

This is the first release that contains the fix.

pip install --upgrade "unstructured==0.24.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can implement host validation in their application code before making requests to URLs. However, this is not a complete solution and upgrading the package is strongly recommended.

Conclusion

The CVE-2026-71428 vulnerability in the unstructured package poses a significant risk due to its SSRF nature, allowing unauthorized access to sensitive internal resources. Users are strongly advised to upgrade to the patched version 0.24.0 to mitigate this risk effectively.

See every vulnerability recorded for unstructured →

Share this vulnerability

FAQ

SSRF is a security vulnerability that allows an attacker to send crafted requests from the server to internal or external resources, potentially exposing sensitive data.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The vulnerability can lead to unauthorized access to internal HTTP services, cloud instance metadata, and other sensitive information, posing a significant security risk.

Yes, the vulnerability has been patched in version 0.24.0 of the unstructured package. Users should upgrade to this version or later.

If immediate upgrading is not possible, implement host validation in your application code as a temporary workaround until you can upgrade.

Related vulnerabilities

Recent vulnerabilities recorded for unstructured.

How To Fix

Latest published version: 0.27.33 as of 22 Oct 2026

pip install --upgrade "unstructured==0.27.33"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.24.0

This is the first release that contains the fix.

pip install --upgrade "unstructured==0.24.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback