Home / [UNKNOWN] / golang / CVE-2018-16874
CVE-2018-16874: is it exploited, and which versions of [UNKNOWN] golang are affected and fixed?
CVE-2018-16874 is an improper input validation vulnerability in [UNKNOWN] golang. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: golang 1.10.6 and golang 1.11.3 (CVE record by redhat). Fixed in 1.10.6 and 1.11.3 (NVD). Severity: Medium (6.8, CVSS 3.0, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:26 UTC.
What is CVE-2018-16874?
In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to directory traversal when executed with the import path of a malicious Go package which contains curly braces (both '{' and '}' characters). Specifically, it is only vulnerable in GOPATH mode, but not in module mode (the distinction is documented at https://golang.org/cmd/go/#hdr-Module_aware_go_get). The attacker can cause an arbitrary filesystem write, which can lead to code execution.
From the CVE record by redhat, last updated August 5, 2024, 10:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| [UNKNOWN] | golang | 1.10.6 1.11.3 |
As the CVE record by redhat states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| golang | go | before 1.10.6 | application |
| golang | go | from 1.11.0 before 1.11.3 | application |
| opensuse | backports sle | 15.0 | application |
| opensuse | leap | 15.0 | operating system |
| opensuse | leap | 15.1 | operating system |
| opensuse | leap | 42.3 | operating system |
| suse | linux enterprise server | 12 | operating system |
| debian | debian linux | 9.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:44 UTC.
How severe is CVE-2018-16874?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N | redhat |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-16874 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 5.02% probability of exploitation activity in the next 30 days, percentile 92.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- GLSA-201812-09 vendor-advisory, x_refsource_GENTOO
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16874 x_refsource_CONFIRM
- 106228 vdb-entry, x_refsource_BID
- https://groups.google.com/forum/?pli=1#%21topic/golang-announce/Kw31K8G7Fi0 x_refsource_MISC
- openSUSE-SU-2019:1079 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2019:1444 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2019:1499 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2019:1506 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2019:1703 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:0554 vendor-advisory, x_refsource_SUSE
- [debian-lts-announce] 20210313 [SECURITY] [DLA 2591-1] golang-1.7 security update mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20210313 [SECURITY] [DLA 2592-1] golang-1.8 security update mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- September 11, 2018
- Published
- December 14, 2018, 14:00 UTC
- CVE record updated
- August 5, 2024, 10:32 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 01:44 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:26 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect golang?
- Dec 14, 2018CVE-2018-16875 [UNKNOWN] golang: improper input validation
- Dec 14, 2018CVE-2018-16873 [UNKNOWN] golang: improper input validation
Questions about CVE-2018-16874
Is CVE-2018-16874 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 5.02% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of [UNKNOWN] golang are affected by CVE-2018-16874?
golang 1.10.6 and golang 1.11.3, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2018-16874?
1.10.6 and 1.11.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-16874?
Medium (6.8, CVSS 3.0, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2018-16874?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.