CVE-2025-47910

NameCVE-2025-47910
DescriptionWhen 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.15 (PTS)bullseye1.15.15-1~deb11u4fixed
golang-1.19 (PTS)bookworm1.19.8-2fixed
golang-1.23 (PTS)sid1.23.10-1fixed
golang-1.24 (PTS)trixie1.24.4-1fixed
forky, sid1.24.4-4fixed
golang-1.25 (PTS)forky, sid1.25.0-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.15source(unstable)(not affected)
golang-1.19source(unstable)(not affected)
golang-1.23source(unstable)(not affected)
golang-1.24source(unstable)(not affected)
golang-1.25source(unstable)(unfixed)

Notes

- golang-1.24 <not-affected> (Vulnerable code introduced later)
- golang-1.23 <not-affected> (Vulnerable code introduced later)
- golang-1.19 <not-affected> (Vulnerable code introduced later)
- golang-1.15 <not-affected> (Vulnerable code introduced later)
https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ
https://go-review.googlesource.com/c/go/+/699275
https://github.com/golang/go/issues/75054
Introduced after: https://github.com/golang/go/commit/1881d680b0b573c32d3002c37902760668ffec0f (go1.25rc1)
Fixed by: https://github.com/golang/go/commit/b1959cf6f7673eaffa89bbdb00e68b30cde3aa8a (go1.25.1)

Search for package or bug name: Reporting problems