CyberSecBulletin

Go toolchain vulnerabilities

We track 14 vulnerabilities in Go toolchain products across 3 products. 14 are rated high or critical, and none are known to be exploited. The most recent was published on October 8, 2026.

14vulnerabilities
4critical
10high
0exploited
8.4average CVSS score

Latest Go toolchain vulnerabilities

  • 7.8 High severity

    cmd/go: Improper Validation of Integrity Check Value

    CVE-2026-94447Go toolchain

    Previously, a user operating inside of a malicious Go project that defines a bogus golang.org/toolchain go.sum entry and operates a malicious GOMODPROXY the user chooses to use can bypass the intended checksum. We now ensure that golang.org/toolchain always go

  • 7.8 High severity

    cmd/go: Improper Validation of Integrity Check Value

    CVE-2026-94444Go toolchain

    Previously, a user operating inside of a malicious Go project that defines a bogus golang.org/fips140 and operates a malicious GOMODPROXY the user chooses to connect to can serve an arbitrary module in its place. We now unpack the trusted ziphash for the bundl

  • 8.4 High severity

    cmd/go: Improper Verification of Cryptographic Signature

    CVE-2026-56865Go toolchain

    A malicious GOPROXY was previously capable of forging up to two sumdb tiles that allow for a requested module to bypass the GOSUMDB check and persist attacker-controlled module content to a local Go module cache. This attack allows for a malicious GOPROXY to s

  • 7.5 High severity

    cmd/go: Improper Verification of Cryptographic Signature

    CVE-2026-56864Go toolchain

    A malicious GOSUMDB was capable of serving arbitrary module content not contained within the transparency log. This attack allows for a coordinating GOPROXY and GOSUMDB to serve a client malicious module content that cannot be detected by evaluating the transp

  • 7.5 High severity

    cmd/go: Improper Verification of Cryptographic Signature

    CVE-2026-42501Go toolchain

    A malicious module proxy can exploit a flaw in the go command's validation of module checksums to bypass checksum database validation. This vulnerability affects any user using an untrusted module proxy (GOMODPROXY) or checksum database (GOSUMDB). A malicious

  • 7.1 High severity

    cmd/compile: Access of Resource Using Incompatible Type

    CVE-2026-27144Go toolchain

    The compiler is meant to unwrap pointers which are the operands of a memory move; a no-op interface conversion prevented the compiler from making the correct determination about non-overlapping moves, potentially leading to memory corruption at runtime.

  • 8.8 High severity

    cmd/go: Incorrect Authorization

    CVE-2026-27140Go toolchain

    SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code execution at build time due to trust layer bypass.

  • 7.0 High severity

    cmd/go: Out-of-bounds Write

    CVE-2025-68119Go toolchain

    Downloading and building modules with malicious version strings can cause local code execution. On systems with Mercurial (hg) installed, downloading modules from non-standard sources (e.g., custom domains) can cause unexpected code execution due to how extern

  • 8.6 High severity

    cmd/go: Improper Neutralization of Argument Delimiters in a Command

    CVE-2025-61731Go toolchain

    Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config comm

  • 8.6 High severity

    cmd/go: External Control of File Name or Path

    CVE-2025-4674Go toolchain

    The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs when possibly dangerous VCS configuration is present in repositories. This can happen when a repository was fetched via one VCS (e.g. Git), but contains me

  • 9.8 Critical severity

    cmd/go: Improper Control of Generation of Code

    CVE-2023-39320Go toolchainEPSS 1.76%

    The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This applies to modules downloaded using the "go" command from the

  • 9.8 Critical severity

    cmd/go: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2023-29405Go toolchainEPSS 1.71%

    The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo L

  • 9.8 Critical severity

    cmd/go: Improper Control of Generation of Code

    CVE-2023-29404Go toolchainEPSS 1.82%

    The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo L

  • 9.8 Critical severity

    cmd/go: Improper Control of Generation of Code

    CVE-2023-29402Go toolchainEPSS 1.69%

    The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in the