What’s Vulnerable › Vulnerabilities

CVE-2026-56864: Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb

Description

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 transparency log. In order to determine if you have been affected: rm -r go.sum go.work.sum vendor/ && go mod tidy

Affected products

How to fix

Upgrade to a fixed version: Golang.Org/X/Mod 0.40.0; Go Toolchain 1.25.13, 1.26.6, 1.27.0-rc.3; Go 1.25.13, 1.26.6, 1.27.0-rc.3; golang.org/x/mod/sumdb 0.40.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56864 or the next vulnerability affects your stack