GHSA-4v7r-f4w8-8972: Open WebUI has a full SSRF Vulnerability in the RAG Web Search Feature
- Identifiers
- CVE-2026-45331GHSA-4v7r-f4w8-8972
- Published
- Record updated
- Affected
- open-webui <= 0.8.12
- Fixed in
- 0.9.0
- released April 21, 2026, 23 days before disclosure
Summary
Open WebUI's `validate_url()` in `backend/open_webui/retrieval/web/utils.py` calls `validators.ipv6(ip, private=True)`, but the `validators` library does not support the `private` keyword, so the call raises a `ValidationError` that is falsy and every IPv6 address passes the filter. IPv4-mapped IPv6 addresses (`::ffff:10.0.0.1`) also bypass the IPv4 check, and several reserved IPv4 ranges such as `0.0.0.0/8` and `100.64.0.0/10` are not blocked, letting any authenticated user reach internal addresses from the server, including cloud metadata endpoints.
Mitigation
Replace the `validators` library calls with stdlib `ipaddress`, rejecting addresses where `is_private`, `is_loopback`, `is_link_local`, `is_multicast`, `is_reserved` or `is_unspecified` is true. Unwrap IPv4-mapped IPv6 addresses via `ipv4_mapped` and re-check them, and add explicit blocks for the IANA reserved ranges (for example 0.0.0.0/8, 100.64.0.0/10, 192.0.0.0/24).
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online