Always-Incorrect Control Flow Implementation Affecting std/net/http package, versions >=1.25.0 <1.25.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDNETHTTP-14550835
  • published6 Jan 2026
  • disclosed22 Sept 2025
  • creditMarco Gazerro

Introduced: 22 Sep 2025

CVE-2025-47910  (opens in a new tab)
CWE-670  (opens in a new tab)

How to fix?

Upgrade std/net/http to version 1.25.1 or higher.

Overview

std/net/http is a Go standard library package std/net/http

Affected versions of this package are vulnerable to Always-Incorrect Control Flow Implementation.

Go Vulnerability Report:

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.

CVSS Base Scores

version 4.0
version 3.1