You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Security] DNS rebinding protection only checks IPv4 — IPv6 AAAA records bypass #668
resolvesToBlockedIp() in browse/src/url-validation.ts:51 only calls dns.resolve4() (A records). It never checks dns.resolve6() (AAAA records). The BLOCKED_METADATA_HOSTS set includes fd00:: but that is only matched against the raw hostname string, not resolved IPv6 addresses. A DNS rebinding attack via an AAAA record pointing to a blocked IPv6 metadata address bypasses protection.
Fixed in commit c151fabf (PR #664, v0.15.13.0). resolvesToBlockedIp now checks both IPv4 A records and IPv6 AAAA records in parallel. ULA range (fc00::/7) also blocked.
Activity
fix: check IPv6 AAAA records in DNS rebinding protection (garrytan#668)
fix: DNS rebinding protection checks AAAA (IPv6) records too
garrytan commentedon Apr 13, 2026
Fixed in commit
c151fabf(PR #664, v0.15.13.0).resolvesToBlockedIpnow checks both IPv4 A records and IPv6 AAAA records in parallel. ULA range (fc00::/7) also blocked.