CVE-2026-45331: SSRF filter bypass in Open WebUI validate_url()
- Vendor
- Open WebUI
CVE-2026-45331 is a server-side request forgery (SSRF) protection bypass in Open WebUI prior to version 0.9.0. The issue is in validate_url() in backend/open_webui/retrieval/web/utils.py. The URL validation logic attempts to reject private/internal IP destinations, but its IPv6 handling is flawed: it calls validators.ipv6(ip, private=True), even though the validators library does not implement the private keyword for IPv6. That call raises a ValidationError which is falsy in boolean context, causing IPv6 addresses to be treated as valid and to pass the filter. The validation can also be bypassed using IPv4-mapped IPv6 addresses such as ::ffff:10.0.0.1, which evade the IPv4 check entirely. Additionally, several reserved IPv4 ranges, including 0.0.0.0/8, 100.64.0.0/10, and 192.0.0.0/24, are not blocked. As a result, attacker-supplied URLs can target internal, local, or otherwise restricted network resources despite the intended protections.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to bypass Open WebUI's destination filtering for outbound retrieval/web requests and reach internal or reserved-address resources that should have been denied. Depending on the deployment environment, this can enable access to loopback or RFC1918-style internal services, cloud metadata endpoints, management interfaces, or other non-public network resources reachable from the Open WebUI host. The practical impact is SSRF with internal network reachability, which may lead to sensitive information disclosure, internal service enumeration, credential theft from metadata services, or use of Open WebUI as a pivot into adjacent infrastructure.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict or disable features that allow Open WebUI to fetch attacker-controlled URLs. Enforce outbound network egress controls from the Open WebUI host/container so it cannot reach internal address space, loopback, link-local destinations, or cloud metadata services. Apply network-layer deny rules for RFC1918, loopback, link-local, unique-local IPv6, IPv4-mapped IPv6 representations of internal addresses, and reserved IPv4 ranges such as 0.0.0.0/8, 100.64.0.0/10, and 192.0.0.0/24. Where possible, use allowlists for approved external destinations rather than application-layer denylist validation alone.
Remediation
Patch, then assume compromise.
Upgrade Open WebUI to version 0.9.0 or later, where this vulnerability is fixed. The fix should ensure correct IPv6 private/reserved-range handling, proper treatment of IPv4-mapped IPv6 addresses, and comprehensive blocking of reserved IPv4 ranges that were previously omitted.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-45331 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-45331?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2026-45331.
- Is there a patch for CVE-2026-45331?
- Upgrade Open WebUI to version 0.9.0 or later, where this vulnerability is fixed. The fix should ensure correct IPv6 private/reserved-range handling, proper treatment of IPv4-mapped IPv6 addresses, and comprehensive blocking of reserved IPv4 ranges that were previously omitted.
- What products are affected by CVE-2026-45331?
- Open WebUI Open-Webui.
- How severe is CVE-2026-45331?
- CVE-2026-45331 has a CVSS v3.1 score of 8.5 (High) and an EPSS score of 0.29% (21st percentile) as of Oct 16, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.