CVE-2026-70485: Open WebUI: Any authenticated user can reach internal services and cloud metadata via NAT64-encoded URLs
Open WebUI 0.9.0 up to 0.11.0 judges whether a user-supplied URL is safe by testing the IPv6 literal, not the IPv4 address inside it. On networks with a NAT64 gateway, any verified user can wrap `169.254.169.254` or `127.0.0.1` in `64:ff9b::/96`, pass the filter and read the response. Upgrade to 0.11.0.
Published Aug 4, 2026 · Analysis Nov 8, 2026
What an attacker can do
Open WebUI fetches user URLs on the server for RAG URL ingestion, URL-to-markdown conversion and web-search retrieval. In backend/open_webui/retrieval/web/utils.py, validate_url() and the connect-time checks _ssrf_safe_new_conn() and _SSRFSafeResolver all used ipaddress.ip_address(ip).is_global on the literal address. The NAT64 well-known prefix 64:ff9b::/96 is a global prefix that carries any IPv4 destination, so an internal target wrapped in it passes. The connect-time re-checks used the same test, so nothing caught it later. The default WEB_FETCH_FILTER_LIST blocklist matches hostname strings and does not match a NAT64 literal.
The attacker needs only a verified user account, no admin role. The deployment must also have NAT64 translation for that prefix, which is common on IPv6-only and dual-stack cloud and Kubernetes networks. Without NAT64 the address has nowhere to go and nothing is lost. That dependence is why the CVSS vector has high attack complexity.
On an affected network, the proof of concept sent POST /api/v1/retrieval/process/web with [64:ff9b::a9fe:a9fe]/latest/meta-data/iam/security-credentials/ and got the body back in the content field. The plain forms (169.254.169.254, 127.0.0.1, [::ffff:169.254.169.254]) returned HTTP 400. The result is full-read access to cloud metadata including IAM role credentials, loopback-bound admin pages and internal APIs in the same VPC or cluster. The tester modelled NAT64 by binding local addresses, not by using a real gateway.
Who is affected
The pip package open-webui from 0.9.0 up to but not including 0.11.0, on networks that provide NAT64 translation for 64:ff9b::/96. It works in the default configuration, with ENABLE_LOCAL_WEB_FETCH off. IPv4-only networks and networks without a NAT64 gateway are not affected.
pip show open-webuiAsk your network team whether your cloud or cluster network translates 64:ff9b::/96.
open-webui
- Ecosystem
- PyPI
- Affected
- >= 0.9.0, < 0.11.0
- Fixed in
- 0.11.0
- Check
pip show open-webui
How to fix it
Upgrade to open-webui 0.11.0:
pip install --upgrade "open-webui>=0.11.0"Per the fix commit, a new helper _is_global_addr replaces the plain is_global test at all three checks. For IPv6 it also inspects the embedded IPv4 address in IPv4-mapped, 6to4, Teredo and NAT64 forms, and treats the address as global only if every embedded IPv4 address is global. NAT64-wrapped public destinations continue to work. No configuration change is needed.
Before you upgrade, you can disable NAT64 translation for the Open WebUI host, or block its egress to metadata and internal ranges.
How to tell if you were hit
In access logs for the retrieval and web-search endpoints, look for submitted URLs containing 64:ff9b: or other bracketed IPv6 literals. In the server's network logs, look for outbound connections to metadata and private addresses via the NAT64 gateway. On cloud accounts, check for use of the instance role from unexpected places. Check ingested documents for content that looks like metadata JSON or internal admin output.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Open WebUI fetches user-supplied URLs on the server for RAG URL ingestion, URL-to-markdown conversion and web-search content retrieval, and decides whether a destination is allowed by asking whether its IP address is globally routable. That test operates on the literal IPv6 address and does not look at the IPv4 address embedded inside it. On a deployment whose network has a NAT64 gateway, any verified user can wrap an internal or cloud-metadata IPv4 address in the NAT64 well-known prefix, pass the filter, and receive the internal response body back through the API.
Preconditions
- Any verified (authenticated) user account. No admin role, no elevated permission.
- Default configuration:
ENABLE_LOCAL_WEB_FETCHoff, the defaultWEB_FETCH_FILTER_LISTmetadata blocklist in place. Neither prevents this, because the blocklist matches hostname strings and the NAT64 literal is not one of them. - The deployment's network must provide NAT64 translation for the well-known
64:ff9b::/96prefix, which is the common default on IPv6-only and dual-stack cloud and Kubernetes networks. - Deployments on IPv4-only networks, or on any network without a NAT64 gateway, are not affected: the address has nowhere to route.
Impact
On an affected network a low-privilege user can read GET responses from services the server can reach but the internet cannot: cloud instance metadata including IAM role credentials, loopback-bound admin surfaces, and internal APIs in the same VPC or cluster. The response body is returned to the caller, so this is full-read, not blind. Exploitation is not universal, it depends entirely on the deployment's network providing NAT64 translation, which is why the score carries high attack complexity. Deployments without NAT64 lose nothing here.
Fix
Fixed in v0.11.0 by commit 1717b493d. Address classification now unwraps the IPv4 embedded in IPv6 transition encodings before deciding whether a destination is global, and applies that at all three checkpoints. NAT64-wrapped public destinations continue to work. Upgrading to v0.11.0 fully resolves the issue with no configuration change.
Root cause
backend/open_webui/retrieval/web/utils.py—validate_url(), the pre-fetch check on the submitted URL.backend/open_webui/retrieval/web/utils.py—_ssrf_safe_new_conn()and_SSRFSafeResolver, the connect-time re-checks that defeat DNS rebinding.
All three decided reachability from ipaddress.ip_address(ip).is_global applied to the literal address. That predicate answers whether an IPv6 address sits in globally-routable space, which is a different question from where the packet actually ends up once a transition gateway translates it. The NAT64 well-known prefix is by design a global prefix carrying an arbitrary IPv4 destination, so an internal target wrapped in it satisfies the check while reaching exactly what the check exists to prevent. Because the same predicate backed the connect-time re-checks, no later layer caught it either. The fix inspects every standardized transition encoding rather than only the NAT64 prefix, since the same reasoning error applies to each of them.
Proof of concept
Against the real POST /api/v1/retrieval/process/web flow on v0.10.2 as an authenticated user, with internal HTTP services returning a marker string. The plain forms are rejected with HTTP 400:
http://169.254.169.254/latest/meta-data/ -> 400
http://127.0.0.1/ -> 400
http://[::ffff:169.254.169.254]/ -> 400
http://metadata.google.internal/ -> 400The NAT64 encodings of the same targets are accepted, and the response body is returned in the content field:
http://[64:ff9b::a9fe:a9fe]/latest/meta-data/iam/security-credentials/ -> 200, marker returned
http://[64:ff9b::7f00:1]/admin/internal-status -> 200, marker returnedNAT64 translation was modelled by binding the translated addresses locally rather than by routing through a real NAT64 gateway; everything else, including the request flow and the validation code, is the unmodified v0.10.2 path. After the fix both URLs return 400 while http://[64:ff9b::808:808]/ (8.8.8.8, public) still returns 200, confirming no over-blocking.
Credits
- tonghuaroot — reported the transition-form gap in the address classification and supplied the fix approach.
Credited to tonghuaroot, Classic298.
Questions
- Does this affect every Open WebUI install?
No. It needs a NAT64 gateway translating
64:ff9b::/96. IPv4-only networks and networks without NAT64 lose nothing here.- Does the default blocklist stop it?
No.
WEB_FETCH_FILTER_LISTmatches hostname strings, and a NAT64 IPv6 literal is not one of them.- What privileges does the attacker need?
Any verified user account. No admin role or extra permission.
- Which version fixes CVE-2026-70485?
open-webui 0.11.0, with no configuration change.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Open WebUI vulnerabilities
All Open WebUI entriesCVE-2026-87011
Open WebUI: Unauthenticated requests can stall the server via uncached OIDC fetches in back-channel logout
high7.5Sep 10, 2026CVE-2026-87012
Open WebUI: Any authenticated user can suppress calendar alerts instance-wide via a non-numeric alert value
medium4.3Sep 10, 2026CVE-2026-87013
Open WebUI: Any authenticated user can start a non-terminating request via a folder parent cycle
medium4.3Sep 10, 2026CVE-2026-87014
Open WebUI: Admin demoted through SSO role sync keeps read and write access to all users' notes
medium6.5Sep 10, 2026CVE-2026-87015
Open WebUI: A user's session cookies are sent to tool servers configured for bearer authentication
medium6.8Sep 10, 2026CVE-2026-87016
Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
high8.1Sep 10, 2026
