Advisory

GO-2026-6180

Also known as: BIT-golang-2026-56864, CVE-2026-56864

Summary

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

Details

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

Severity

Not rated by the source.

Dates

Published
2026-08-13 21:43 UTC
Modified
2026-08-19 12:25 UTC

Affected packages and fixes

toolchain

Go · All systems

Affected

  • introduced 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 (semver)

Fixed versions

1.25.13, 1.26.6, 1.27.0-rc.3

Fix

The export has no generic command for this ecosystem.

golang.org/x/mod

Go · All systems

Affected

  • introduced 0, fixed 0.40.0 (semver)

Fixed versions

0.40.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences