Skip to content
Threat Feed
high advisory

Go toolchain: Arbitrary library reference vulnerability in cmd/cgo and cmd/link (CVE-2026-97042)

The Go toolchain on Windows contains a vulnerability in cmd/cgo, cmd/compile, and cmd/link where insufficient validation of library names and imported DLLs allows for path traversal and arbitrary file references during compilation.

cmd/cgo +2
1c
high advisory

Go toolchain: Arbitrary code execution during package linking (CVE-2026-97038)

The Go toolchain's cmd/go component is vulnerable to arbitrary code execution or the injection of arbitrary linker flags during the package linking phase when processing malicious .syso files or cgo linker inputs.

cmd/go supply-chain rce
1c
high advisory

Golang Go: Arbitrary code execution and file writing in cgo build process (CVE-2026-97035)

The Go toolchain's cmd/go component is vulnerable to arbitrary code execution and arbitrary file writes during build time when processing malicious packages using cgo, due to improper flag allowlisting.

cmd/go
1t 1c
high advisory

Go toolchain: Arbitrary command execution via cgo and GCC spec files (CVE-2026-97034)

The Go toolchain's 'cmd/go' utility is vulnerable to arbitrary command execution at link time during cgo builds when processing untrusted GCC spec files.

cmd/go cve supply-chain
1t 1c
high advisory

Golang Go: Arbitrary code execution during cgo linking (CVE-2026-97037)

The Go toolchain (cmd/go) is vulnerable to arbitrary code execution during the package build process when processing malicious cgo LDFLAGS, affecting versions prior to 1.26.11 and 1.27.4.

cmd/go cgo compiler linker
1c