GO-2026-6180

Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb

At a glance

Published
Updated
CVE
CVE-2026-56864
Aliases
BIT-golang-2026-56864

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 packages

PackageVersions
Go · toolchainintroduced 0, fixed 1.25.13, introduced 1.26.0-0, fixed 1.26.6, introduced 1.27.0-0, fixed 1.27.0-rc.3
Go · golang.org/x/modintroduced 0, fixed 0.40.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database