Skip to main content
← All vulnerabilities
CVE-2026-56864GO-2026-6180BIT-GOLANG-2026-56864

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.25.13, 1.26.6, 1.27.0-rc.3, 0.40.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • cmd/go

    fixed in 1.25.13; From 1.26.0-0 · fixed in 1.26.6; From 1.27.0-0 · fixed in 1.27.0-rc.3

  • golang.org/x/mod/sumdb

    fixed in 0.40.0

  • toolchainGo

    fixed in 1.25.13; From 1.26.0-0 · fixed in 1.26.6; From 1.27.0-0 · fixed in 1.27.0-rc.3

  • golang.org/x/modGo

    fixed in 0.40.0

References 5

go.dev

groups.google.com

pkg.go.dev