CVE-2026-25679 Incorrect parsing of IPv6 host literals in net/url
The Go net/url library incorrectly parses IPv6 host literals, potentially allowing security bypasses in applications relying on URL validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-25679?
CVE-2026-25679 is a high-severity vulnerability in Golang Go, published on 6 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.
Which versions are affected by CVE-2026-25679?
2 open source packages ship an affected version, including golang and stdlib. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
golang Bitnami | All versions | 1.25.8, 1.26.1 |
stdlib Go | All versions | 1.25.8, 1.26.1 |
Linux distribution packages (38)
buildah AlmaLinux:10 | All versions | 2:1.43.1-1.el10_2 |
buildah-tests AlmaLinux:10 | All versions | 2:1.43.1-1.el10_2 |
git-lfs AlmaLinux:10 | All versions | 3.6.1-8.el10_1 |
go-srpm-macros AlmaLinux:10 | All versions | 3.6.0-8.el10_1 |
grafana AlmaLinux:10 | All versions | 10.2.6-23.el10_1 |
grafana-pcp AlmaLinux:10 | All versions | 5.3.0-3.el10_1 |
grafana-selinux AlmaLinux:10 | All versions | 10.2.6-23.el10_1 |
image-builder AlmaLinux:10 | All versions | 31-5.el10_1 |
ipp-usb AlmaLinux:10 | All versions | 0.9.27-5.el10_1.1 |
osbuild-composer AlmaLinux:10 | All versions | 149-6.el10_1.alma.3 |
osbuild-composer-core AlmaLinux:10 | All versions | 149-6.el10_1.alma.3 |
osbuild-composer-worker AlmaLinux:10 | All versions | 149-6.el10_1.alma.3 |
skopeo AlmaLinux:10 | All versions | 2:1.22.2-1.el10_2 |
skopeo-tests AlmaLinux:10 | All versions | 2:1.22.2-1.el10_2 |
yggdrasil AlmaLinux:10 | All versions | 0.4.8-4.el10_1 |
yggdrasil-devel AlmaLinux:10 | All versions | 0.4.8-4.el10_1 |
yggdrasil-worker-package-manager AlmaLinux:10 | All versions | 0.2.3-5.el10_1 |
yggdrasil-worker-package-manager AlmaLinux:10 | All versions | 0.2.3-6.el10_2 |
grafana AlmaLinux:8 | All versions | 9.2.10-29.el8_10 |
grafana-pcp AlmaLinux:8 | All versions | 5.1.1-13.el8_10 |
grafana-selinux AlmaLinux:8 | All versions | 9.2.10-29.el8_10 |
osbuild-composer AlmaLinux:8 | All versions | 101.4-5.el8_10.alma.1 |
osbuild-composer-core AlmaLinux:8 | All versions | 101.4-5.el8_10.alma.1 |
osbuild-composer-worker AlmaLinux:8 | All versions | 101.4-5.el8_10.alma.1 |
git-lfs AlmaLinux:9 | All versions | 3.6.1-8.el9_7 |
go-filesystem AlmaLinux:9 | All versions | 3.6.0-14.el9_7 |
go-rpm-macros AlmaLinux:9 | All versions | 3.6.0-14.el9_7 |
go-rpm-templates AlmaLinux:9 | All versions | 3.6.0-14.el9_7 |
go-srpm-macros AlmaLinux:9 | All versions | 3.6.0-14.el9_7 |
grafana AlmaLinux:9 | All versions | 10.2.6-19.el9_7 |
grafana-pcp AlmaLinux:9 | All versions | 5.1.1-13.el9_7 |
grafana-selinux AlmaLinux:9 | All versions | 10.2.6-19.el9_7 |
image-builder AlmaLinux:9 | All versions | 31-4.el9_7 |
osbuild-composer AlmaLinux:9 | All versions | 149-5.el9_7.alma.3 |
osbuild-composer-core AlmaLinux:9 | All versions | 149-5.el9_7.alma.3 |
osbuild-composer-worker AlmaLinux:9 | All versions | 149-5.el9_7.alma.3 |
git-lfs Red Hat:enterprise_linux:10.1 | All versions | 0:3.6.1-8.el10_1 |
git-lfs-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:3.6.1-8.el10_1 |
Products include Golang Go.
How do I fix CVE-2026-25679?
Upgrade golang to a fixed version for your release line: 1.25.8 or 1.26.1.
Is CVE-2026-25679 being exploited?
There is no known exploitation of CVE-2026-25679 in the wild and no public exploit code.
Other vulnerabilities in Golang Go
- CVE-2020-0601 Microsoft Windows CryptoAPI Spoofing
- CVE-2026-27143 Missing bound checks can lead to memory corruption in safe Go in cmd/compile
- CVE-2024-24790 Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
- CVE-2023-39320 Arbitrary code execution via go.mod toolchain directive in cmd/go
- CVE-2023-24540 Improper handling of JavaScript whitespace in html/template
Sources
Also known as ALSA-2026:11412, ALSA-2026:11413, ALSA-2026:13642, ALSA-2026:13643, ALSA-2026:13671, ALSA-2026:19031 and 674 more.