CVE-2026-25679 Incorrect parsing of IPv6 host literals in net/url

High 7.5 Published Updated

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.

Weakness: CWE-425, CWE-1286

Which versions are affected by CVE-2026-25679?

2 open source packages ship an affected version, including golang and stdlib. It affects 1 product.

PackageAffectedFixed in
golang BitnamiAll versions1.25.8, 1.26.1
stdlib GoAll versions1.25.8, 1.26.1
Linux distribution packages (38)
buildah AlmaLinux:10All versions2:1.43.1-1.el10_2
buildah-tests AlmaLinux:10All versions2:1.43.1-1.el10_2
git-lfs AlmaLinux:10All versions3.6.1-8.el10_1
go-srpm-macros AlmaLinux:10All versions3.6.0-8.el10_1
grafana AlmaLinux:10All versions10.2.6-23.el10_1
grafana-pcp AlmaLinux:10All versions5.3.0-3.el10_1
grafana-selinux AlmaLinux:10All versions10.2.6-23.el10_1
image-builder AlmaLinux:10All versions31-5.el10_1
ipp-usb AlmaLinux:10All versions0.9.27-5.el10_1.1
osbuild-composer AlmaLinux:10All versions149-6.el10_1.alma.3
osbuild-composer-core AlmaLinux:10All versions149-6.el10_1.alma.3
osbuild-composer-worker AlmaLinux:10All versions149-6.el10_1.alma.3
skopeo AlmaLinux:10All versions2:1.22.2-1.el10_2
skopeo-tests AlmaLinux:10All versions2:1.22.2-1.el10_2
yggdrasil AlmaLinux:10All versions0.4.8-4.el10_1
yggdrasil-devel AlmaLinux:10All versions0.4.8-4.el10_1
yggdrasil-worker-package-manager AlmaLinux:10All versions0.2.3-5.el10_1
yggdrasil-worker-package-manager AlmaLinux:10All versions0.2.3-6.el10_2
grafana AlmaLinux:8All versions9.2.10-29.el8_10
grafana-pcp AlmaLinux:8All versions5.1.1-13.el8_10
grafana-selinux AlmaLinux:8All versions9.2.10-29.el8_10
osbuild-composer AlmaLinux:8All versions101.4-5.el8_10.alma.1
osbuild-composer-core AlmaLinux:8All versions101.4-5.el8_10.alma.1
osbuild-composer-worker AlmaLinux:8All versions101.4-5.el8_10.alma.1
git-lfs AlmaLinux:9All versions3.6.1-8.el9_7
go-filesystem AlmaLinux:9All versions3.6.0-14.el9_7
go-rpm-macros AlmaLinux:9All versions3.6.0-14.el9_7
go-rpm-templates AlmaLinux:9All versions3.6.0-14.el9_7
go-srpm-macros AlmaLinux:9All versions3.6.0-14.el9_7
grafana AlmaLinux:9All versions10.2.6-19.el9_7
grafana-pcp AlmaLinux:9All versions5.1.1-13.el9_7
grafana-selinux AlmaLinux:9All versions10.2.6-19.el9_7
image-builder AlmaLinux:9All versions31-4.el9_7
osbuild-composer AlmaLinux:9All versions149-5.el9_7.alma.3
osbuild-composer-core AlmaLinux:9All versions149-5.el9_7.alma.3
osbuild-composer-worker AlmaLinux:9All versions149-5.el9_7.alma.3
git-lfs Red Hat:enterprise_linux:10.1All versions0:3.6.1-8.el10_1
git-lfs-debuginfo Red Hat:enterprise_linux:10.1All versions0: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.

All Golang Go vulnerabilities

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.

Is CVE-2026-25679 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free