Go toolchain cmd/go Schwachstellen (CVE)

Für Go toolchain cmd/go veröffentlichte CVE-Einträge, neueste zuerst. Folgen Sie, um bei neuen Einträgen eine E-Mail zu erhalten.

32 Ergebnisse
7.8Hoch
CVE-2026-94447

Checksum database bypass for golang.org/toolchain in cmd/go

Go toolchain cmd/go

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 g…

7.8Hoch
CVE-2026-94444

Checksum bypass for golang.org/fips140 in cmd/go

Go toolchain cmd/go

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 bund…

7.5Hoch
CVE-2026-42501

Malicious module proxy can bypass checksum database in cmd/go

Go toolchain cmd/go

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…

5.9Mittel
CVE-2026-39817

Invoking "go tool pack" does not sanitize output paths in cmd/go

Go toolchain cmd/go

The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem.

8.8Hoch
CVE-2026-27140

Code execution vulnerability in SWIG code generation in cmd/go

Go toolchain cmd/go; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support; Red Hat Red Hat Enterprise Linux 8

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.0Hoch
CVE-2025-68119

Unexpected code execution when invoking toolchain in cmd/go

Go toolchain cmd/go

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 exter…

7.8Hoch
CVE-2025-61731

Arbitrary file write using cgo pkg-config directive in cmd/go

Go toolchain cmd/go; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support; Red Hat Red Hat Enterprise Linux 8

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 com…

7.5Hoch
CVE-2025-22867

Arbitrary code execution during build on darwin in cmd/go

Go toolchain cmd/go

On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the @executable_path, @loader_path, or @rpath special values in a "#cgo LDFLAGS" directive. This issue only affected go…

8.8Hoch
CVE-2024-45340

GOAUTH credential leak in cmd/go

Go toolchain cmd/go

Credentials provided via the new GOAUTH feature were not being properly segmented by domain, allowing a malicious server to request credentials they should not have access to. By default, unless otherwise set, this only affected credentials stored in the user…

9.8Kritisch
CVE-2023-24531

Output of "go env" does not sanitize values in cmd/go

Go toolchain cmd/go; gotoolchain cmd\/go

Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting ne…