Details
References
- Original advisory: GHSA-mpf7-p9x7-96r3 / CVE-2026-27808
- Vulnerable function: `internal/tools/net.go#L25-L34` — `IsInternalIP`
- Caller: `internal/linkcheck/status.go#L140-L163` — `safeDialContext`
- Upstream Go-stdlib issue tracking the root cause: **golang/go#79925** — proposal to extend
net.IP.IsPrivatesemantics and improve documentation - Related: same bypass class in other Go projects — GHSA-56c3-vfp2-5qqj / CVE-2026-44430, GHSA-86m8-88fq-xfxp / CVE-2026-45741
- Go stdlib design context: Damien Neil's comment ("
IsPrivatewas a mistake. Just about every use of it that I've seen seems to misuse it.") - Python stdlib reference: `ipaddress.is_private` 3.13 docs — covers 6to4, NAT64 explicitly
- Comprehensive Go library: `code.dny.dev/ssrf` — IANA-registry-driven
- RFCs: 3056 (6to4), 4380 (Teredo), 6052 (NAT64), 8215 (NAT64 local-use), 4291 (IPv6 addressing including IPv4-mapped/compatible), 5214 (ISATAP), 3879 (site-local deprecation), 3849 (documentation prefix)