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

Medium 5.4 Published Updated

Developers using Go's CrossOriginProtection may inadvertently bypass security checks due to insecure bypass patterns, exposing endpoints to unauthorized access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-47910?

CVE-2025-47910 is a medium-severity vulnerability in Go standard library net/http, published on 22 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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.

Which versions are affected by CVE-2025-47910?

2 open source packages ship an affected version, including golang and stdlib.

PackageAffectedFixed in
golang BitnamiFrom 1.25.01.25.1
stdlib GoFrom 1.25.01.25.1
Linux distribution packages (32)
go1.25 SUSE:Enterprise Storage 7.1All versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Enterprise Storage 7.1All versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise Module for Development Tools 15 SP6All versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise Module for Development Tools 15 SP6All versions1.25.1-150600.13.6.1
go1.25 SUSE:Linux Enterprise Module for Development Tools 15 SP7All versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise Module for Development Tools 15 SP7All versions1.25.1-150600.13.6.1
go1.25 SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise Server 15 SP5-LTSSAll versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise Server 15 SP5-LTSSAll versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions1.25.1-150000.1.6.1
go1.25 SUSE:Linux Enterprise Server for SAP Applications 15 SP5All versions1.25.1-150000.1.8.1
go1.25-openssl SUSE:Linux Enterprise Server for SAP Applications 15 SP5All versions1.25.1-150000.1.6.1
go1.25 openSUSE:Leap 15.6All versions1.25.1-150000.1.8.1
go1.25-openssl openSUSE:Leap 15.6All versions1.25.1-150600.13.6.1
go1.25 openSUSE:TumbleweedAll versions1.25.1-1.1
govulncheck-vulndb openSUSE:TumbleweedAll versions0.0.20250922T204835-1.1

How do I fix CVE-2025-47910?

Upgrade golang to 1.25.1 or later.

Is CVE-2025-47910 being exploited?

There is no known exploitation of CVE-2025-47910 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2025-47910, BIT-golang-2025-47910, CLEANSTART-2026-NH57392, DEBIAN-CVE-2025-47910, ECHO-4b0c-aa52-8cd0, GHSA-8pjc-487g-w6p2 and 151 more.

Is CVE-2025-47910 in your software?

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

Check your SBOMs for free