SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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).

HIGH 8.1EPSS 5.04%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (5.04%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

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.

CVSS 3.1
8.1 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
5.04% probability · 92th percentile
Public exploits
None in Exploit-DB
CISA KEV
Not listed
Weakness
CWE-20, CWE-22
Affected
golang/go · opensuse/backports sle · opensuse/leap · suse/linux enterprise server · debian/debian linux
Source
secalert@redhat.com
EPSS trend
0%5%10%27 October 2026: 5.04%27 October 202627 October 2026

EPSS 5.0% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.