CVEMETERBack to radar
OFFICIAL RECORD · Go

CVE-2018-16874

PUBLISHEDOfficial status check: verifiedCVSS 3.0: 6.8 · medium

Go · 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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 5.039% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.

CVSS 3.0 · 6.8 · published by redhat
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Assessment source · checked 2026-11-19T12:55:04.723Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:55:09.885ZCISA KEV
cvssverified2026-11-19T12:55:04.723ZCVE Program
epssverified2026-11-19T16:04:24.854ZFIRST EPSS
patchesverified2026-11-19T12:52:40.410ZOSV
affectedverified2026-11-19T12:55:04.723ZCVE Program
lifecycleverified2026-11-19T12:55:04.723ZCVE Program

Affected versions and configuration

[UNKNOWN] golang; default status: unknown: 1.10.6 [affected; scheme: unspecified]; 1.11.3 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "[UNKNOWN]",
      "product": "golang",
      "versions": [
        {
          "status": "affected",
          "version": "1.10.6"
        },
        {
          "status": "affected",
          "version": "1.11.3"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://security.gentoo.org/glsa/201812-09",
          "name": "GLSA-201812-09",
          "tags": [
            "vendor-advisory",
            "x_refsource_GENTOO",
            "x_transferred"
          ]
        },
        {
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16874",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "http://www.securityfocus.com/bid/106228",
          "name": "106228",
          "tags": [
            "vdb-entry",
            "x_refsource_BID",
            "x_transferred"
          ]
        },
        {
          "url": "https://groups.google.com/forum/?pli=1#%21topic/golang-announce/Kw31K8G7Fi0",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html",
          "name": "openSUSE-SU-2019:1079",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE",
            "x_transferred"
          ]
        },
        {
          "url": "http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html",
          "name": "openSUSE-SU-2019:1444",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE",
            "x_transferred"
          ]
        },
        {
          "url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html",
          "name": "openSUSE-SU-2019:1499",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE",
            "x_transferred"
          ]
        },
        {
          "url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html",
          "name": "openSUSE-SU-2019:1506",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE",
            "x_transferred"
          ]
        },
        {
          "url": "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00010.html",
          "name": "openSUSE-SU-2019:1703",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE",
            "x_transferred"
          ]
        },
        {
          "url": "http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html",
          "name": "openSUSE-SU-2020:0554",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00014.html",
          "name": "[debian-lts-announce] 20210313 [SECURITY] [DLA 2591-1] golang-1.7 security update",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00015.html",
          "name": "[debian-lts-announce] 20210313 [SECURITY] [DLA 2592-1] golang-1.8 security update",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-05T10:32:54.222Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GO-2022-0190",
  "aliases": [
    "CVE-2018-16874"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.10.6"
            },
            {
              "introduced": "1.11.0-0"
            },
            {
              "fixed": "1.11.3"
            }
          ]
        }
      ],
      "package": {
        "name": "toolchain",
        "purl": "pkg:golang/toolchain",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://vuln.go.dev/ID/GO-2022-0190.json"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "path": "cmd/go/internal/get",
            "symbols": [
              "downloadPackage"
            ]
          }
        ]
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://go.dev/cl/154101",
      "type": "FIX"
    },
    {
      "url": "https://go.googlesource.com/go/+/bc82d7c7db83487e05d7a88e06549d4ae2a688c3",
      "type": "FIX"
    },
    {
      "url": "https://go.dev/issue/29230",
      "type": "REPORT"
    },
    {
      "url": "https://groups.google.com/g/golang-announce/c/Kw31K8G7Fi0",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "url": "https://pkg.go.dev/vuln/GO-2022-0190",
    "review_status": "REVIEWED"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryGo / packagetoolchainNot a distribution channel1.10.6Official record
ecosystem-boundaryGo / packagetoolchainNot a distribution channel1.11.3Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history