Incorrect Authorization Affecting std/net/url package, versions <1.11.13>=1.12.0-0 <1.12.8


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.58% (86th 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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-STDNETURL-14551324
  • published6 Jan 2026
  • disclosed1 Jul 2022
  • creditJulian Hector, Nikolai Krein, Adi Cohen

Introduced: 1 Jul 2022

CVE-2019-14809  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade std/net/url to version 1.11.13, 1.12.8 or higher.

Overview

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

Affected versions of this package are vulnerable to Incorrect Authorization.

Go Vulnerability Report:

The url.Parse function accepts URLs with malformed hosts, such that the Host field can have arbitrary suffixes that appear in neither Hostname() nor Port(), allowing authorization bypasses in certain applications.

CVSS Base Scores

version 4.0
version 3.1