ADVISORIES

Vulnerability

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.

38 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • DLA-2591-1

    golang-1.7 - security update

    CVE-2017-15041CVE-2018-16873CVE-2018-16874CVE-2019-16276 Debian Updated 20 November 2026
  • DLA-2592-1

    golang-1.8 - security update

    CVE-2017-15041CVE-2018-16873CVE-2018-16874CVE-2019-16276 Debian Updated 20 November 2026
  • GO-2022-0190

    Directory traversal via "go get" command in cmd/go

    CVE-2018-16874 Go Updated 20 May 2024
  • RHVEX-CVE-2018-16874

    golang: "go get" vulnerable to directory traversal via malicious package

    Moderate CVE-2018-16874 Red Hat Updated 23 November 2026
  • SUSE-SU-2018:4297-1

    Security update for containerd, docker and go

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2018-7187 SUSE Updated 4 February 2026
  • SUSE-SU-2019:0048-1

    Security update for helm-mirror

    CVE-2018-16873CVE-2018-16874CVE-2018-16875 SUSE Updated 4 February 2026
  • SUSE-SU-2019:0048-2

    Security update for helm-mirror

    CVE-2018-16873CVE-2018-16874CVE-2018-16875 SUSE Updated 4 February 2026
  • SUSE-SU-2019:0286-1

    Security update for docker

    CVE-2018-16873CVE-2018-16874CVE-2018-16875 SUSE Updated 4 February 2026
  • SUSE-SU-2019:0495-1

    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork, runc

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-5736 SUSE Updated 4 February 2026
  • SUSE-SU-2019:0573-1

    Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork, runc

    CVE-2016-9962CVE-2018-16873CVE-2018-16874CVE-2018-16875 SUSE Updated 4 February 2026
  • SUSE-SU-2019:1234-1

    Security update for containerd, docker, docker-runc, go, go1.11, go1.12, golang-github-docker-libnetwork

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-5736 SUSE Updated 4 February 2026
  • SUSE-SU-2019:1234-2

    Security update for containerd, docker, docker-runc, go, go1.11, go1.12, golang-github-docker-libnetwork

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-5736 SUSE Updated 4 February 2026
  • SUSE-SU-2019:1264-1

    Security update for containerd, docker, docker-runc, go, go1.11, go1.12, golang-github-docker-libnetwork

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-6486 SUSE Updated 4 February 2026
  • SUSE-SU-2021:1458-1

    Security update for containerd, docker, runc

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-16884 SUSE Updated 4 February 2026
  • SUSE-SU-2024:3656-1

    Security update for etcd

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2018-16886 openSUSE Updated 4 February 2026
  • SUSE-SU-2025:03540-1

    Security update for docker-stable

    CVE-2014-3499CVE-2014-5277CVE-2014-6407CVE-2014-6408 SUSE Updated 4 February 2026
  • SUSE-SU-2025:03545-1

    Security update for docker-stable

    CVE-2014-3499CVE-2014-5277CVE-2014-6407CVE-2014-6408 SUSEopenSUSE Updated 23 March 2026
  • UBUNTU-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 '}'…

    CVE-2018-16874 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2019:0170-1

    Security update for runc

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-5736 SUSE Updated 4 February 2026
  • openSUSE-SU-2019:1444-1

    Security update for containerd, docker, docker-runc, go, go1.11, go1.12, golang-github-docker-libnetwork

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-5736 openSUSE Updated 4 February 2026
  • openSUSE-SU-2019:1499-1

    Security update for containerd, docker, docker-runc, go, go1.11, go1.12, golang-github-docker-libnetwork

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-5736 openSUSE Updated 4 February 2026
  • openSUSE-SU-2019:1506-1

    Security update for containerd, docker, docker-runc, go, go1.11, go1.12, golang-github-docker-libnetwork

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-5736 SUSE Updated 4 February 2026
  • openSUSE-SU-2019:1703-1

    Security update for helm

    CVE-2018-16873CVE-2018-16874CVE-2018-16875 SUSE Updated 4 February 2026
  • openSUSE-SU-2020:0554-1

    Security update for kubernetes

    Known exploited CVE-2016-5195CVE-2016-8859CVE-2017-1002101CVE-2018-1002105 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10693-1

    containerd-1.4.8-2.2 on GA media

    CVE-2016-9962CVE-2018-16873CVE-2018-16874CVE-2018-16875 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10699-1

    cri-o-1.22.0-1.2 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2019-10214 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10722-1

    docker-20.10.6_ce-2.1 on GA media

    CVE-2016-9962CVE-2017-14992CVE-2017-16539CVE-2018-10892 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10741-1

    etcd-3.4.16-3.1 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2018-16886 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10761-1

    flannel-0.14.0-1.2 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-14697 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10802-1

    go-1.17-1.1 on GA media

    CVE-2016-5386CVE-2017-15041CVE-2017-15042CVE-2017-8932 openSUSE Updated 7 May 2025
  • openSUSE-SU-2024:10803-1

    go1.10-1.10.8-8.2 on GA media

    CVE-2014-7189CVE-2015-8618CVE-2016-3959CVE-2016-5386 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10804-1

    go1.11-1.11.13-10.5 on GA media

    CVE-2014-7189CVE-2015-8618CVE-2016-3959CVE-2016-5386 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10805-1

    go1.12-1.12.17-4.8 on GA media

    CVE-2014-7189CVE-2015-8618CVE-2016-3959CVE-2016-5386 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10841-1

    helm-3.6.3-1.1 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2018-16875 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10842-1

    helm-mirror-0.3.1-1.9 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-18658 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11358-1

    runc-1.0.2-1.2 on GA media

    CVE-2016-9962CVE-2018-16873CVE-2018-16874CVE-2018-16875 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15589-1

    docker-stable-24.0.9_ce-15.1 on GA media

    CVE-2014-3499CVE-2014-5277CVE-2014-6407CVE-2014-6408 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15779-1

    helm3-3.19.2-1.1 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2021-21272 openSUSE Updated 4 February 2026

References