ADVISORIES

Go Vulnerability Database

GO-2026-6602

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

Details

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 goes to the network for the canonical checksum.

Affected packages

EcosystemPackageAffected versions
Gotoolchain
All versions before 1.26.9 (fixed in 1.26.9)
From 1.27.0-0 before 1.27.2 (fixed in 1.27.2)

References