Open WebUI: Any authenticated user can reach internal services and cloud metadata via NAT64-encoded URLs
GHSA-8x5v-cpv7-8jjp · CVE-2026-70485 · PYSEC-2026-3645 · 갱신 2026. 8. 10.
영향 받는 패키지
| 생태계 | 패키지 | 수정 버전 |
|---|---|---|
| PyPI | open-webui | 0.11.0 |
GHSA-8x5v-cpv7-8jjp · CVE-2026-70485 · PYSEC-2026-3645 · 갱신 2026. 8. 10.
| 생태계 | 패키지 | 수정 버전 |
|---|---|---|
| PyPI | open-webui | 0.11.0 |
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.
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/ -> 400
The 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 returned
NAT64 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.