CVE-2026-71428: unstructured: Server-Side Request Forgery in the URL-based partitioning
Server-Side Request Forgery in unstructured. The url= argument of partition(), partition_html(), and partition_md() is fetched via requests.get() with no host validation. The response body is returned as Element text, so this is a full-read SSRF — attackers reach loopback admin APIs, internal HTTP services, and cloud metadata endpoints, and read the response.
unstructured is the de facto URL ingestion layer for LangChain UnstructuredURLLoader, LlamaIndex UnstructuredReader, Chainlit, and many agent frameworks — secure defaults must live in the library, not in every downstream caller.
References
- github.com/Unstructured-IO/unstructured/commit/445c95735c4045057f51f399bc04c657751923bd
- github.com/Unstructured-IO/unstructured/pull/4388
- github.com/Unstructured-IO/unstructured/releases/tag/0.24.0
- github.com/Unstructured-IO/unstructured/security/advisories/GHSA-4mvj-m6j5-pmf7
- github.com/advisories/GHSA-4mvj-m6j5-pmf7
- nvd.nist.gov/vuln/detail/CVE-2026-71428
Code Behaviors & Features
Detect and mitigate CVE-2026-71428 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →