Go Vulnerability Database
GO-2026-6601
Checksum bypass for golang.org/fips140 in cmd/go
Details
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 bundled golang.org/fips140 module and construct its entry in the GOMODCACHE such that it can be verified by the toolchain.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | toolchain | 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) |