Vulnerability · Published Sep 22, 2025 · Assigned by Go

CVE-2025-47910CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http

Medium 5.4

In plain English

A medium-severity security flaw in net/http from Go standard library. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.3%top 71.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

When using http.CrossOriginProtection, the AddInsecureBypassPattern method can unexpectedly bypass more requests than intended. CrossOriginProtection then skips validation, but forwards the original request path, which may be served by a different handler without the intended security protections.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23go1.25.1-r0ALPINE-CVE-2025-47910
Alpine:v3.24go1.25.1-r0ALPINE-CVE-2025-47910
Debian:14golang-1.251.25.1-1DEBIAN-CVE-2025-47910
Gostdlib1.25.1GO-2025-3955
Ubuntu:22.04:LTSgolang-1.17no fix listedUBUNTU-CVE-2025-47910
Ubuntu:22.04:LTSgolang-1.18no fix listedUBUNTU-CVE-2025-47910
Ubuntu:22.04:LTSgolang-1.20no fix listedUBUNTU-CVE-2025-47910
Ubuntu:22.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2025-47910
Ubuntu:24.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2025-47910
Ubuntu:22.04:LTSgolang-1.22no fix listedUBUNTU-CVE-2025-47910
Ubuntu:24.04:LTSgolang-1.22no fix listedUBUNTU-CVE-2025-47910
Ubuntu:22.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2025-47910
Ubuntu:24.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2025-47910
Ubuntu:25.10golang-1.23no fix listedUBUNTU-CVE-2025-47910
Ubuntu:26.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2025-47910
Ubuntu:22.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2025-47910
Ubuntu:24.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2025-47910
Ubuntu:25.10golang-1.24no fix listedUBUNTU-CVE-2025-47910
Ubuntu:26.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2025-47910
Ubuntu:22.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2025-47910
Ubuntu:24.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2025-47910
Ubuntu:25.10golang-1.25no fix listedUBUNTU-CVE-2025-47910

Affected products (as reported)

VendorProductVersions
Go standard library net/http 1.25.0 – before 1.25.1

References