CVE-2019-14809: net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some appl…

CVE-2019-14809 affects 34 listed versions of Go in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
8%EPSS (next 30 days)
13 August 2019published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Go

34 of 250 listed versions are affected. Fixed in 1.12.8, 1.11.13. The newest release, 1.27.4, is not affected.

1.12.7 1.12.6 1.12.5 1.12.4 1.12.3 1.11.12 1.11.11 1.11.10 1.11.9 1.11.8 1.11.7 1.11.6 1.11.5 1.11.4 1.11.3 1.11.2 1.11.1 1.11 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10 1.10-rc1 1.9.7 1.9.6 1.9.5 1.9.4 1.9.3 1.9.2

What it is

net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some applications. This is related to a Host field with a suffix appearing in neither Hostname() nor Port(), and is related to a non-numeric port number. For example, an attacker can compose a crafted javascript:// URL that results in a hostname of google.com.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 13 August 2019. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2019-14809 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.