Skip to content
MediumVulnerability

GHSA-qg3f-8x3j-ggf2: Open WebUI: `WEB_FETCH_FILTER_LIST` host allow/block filter bypassable via URL path and non-label-boundary matching

Published
Record updated
View JSON
Affected
  • open-webui < 0.10.0
Fixed in
0.10.0
  • released June 29, 2026, 25 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Open WebUI's `WEB_FETCH_FILTER_LIST` host allow/block filter matches hostnames with `str.endswith(...)` against the full URL string, so administrator-configured blocklist entries fail to match URLs that contain a path, and allowlist and blocklist matching accepts strings that do not respect DNS label boundaries. An authenticated user who can trigger a server-side web fetch can reach publicly-resolvable hosts the administrator meant to block; the always-on non-global IP SSRF guard still blocks loopback, RFC1918 and link-local targets.

Mitigation

Matching is now performed on the parsed hostname using DNS label boundaries via a new `is_host_allowed(host, ...)` function, which matches an entry only when the host equals it or ends with '.' plus the entry. Both web-fetch call sites now pass the parsed hostname instead of the full URL, and `is_string_allowed` is retained unchanged for non-host filters.