Skip to content

cmd/go, x/mod/sumdb: ignore unrelated, unauthenticated hashes in Lookup #80745

Closed

Description

@thatnealpatel

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

Thanks to mundur for reporting this issue.

This is CVE-2026-56864 and Go issue https://go.dev/issue/80745.


This was a PRIVATE track issue, tracked in http://b/526586970.

Activity

  1. thatnealpatel commented on Aug 6, 2026

    @thatnealpatel
    MemberAuthor

    Hi @gopherbot, please open backport issues for this security issue.

  2. gopherbot commented on Aug 6, 2026

    @gopherbot
    Contributor

    Backport issue(s) opened: #80766 (for 1.25), #80767 (for 1.26).

    Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

  3. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/814801 mentions this issue: [release-branch.go1.26] cmd/vendor: fix CVE-2026-56864 in x/mod

  4. added a commit that references this issue on Aug 13, 2026
    9f6980f
  5. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/814821 mentions this issue: [release-branch.go1.25] cmd/vendor: fix CVE-2026-56864 in x/mod

  6. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/814861 mentions this issue: [release-branch.go1.27] cmd/vendor: fix CVE-2026-56864 in x/mod

  7. added 2 commits that reference this issue on Aug 13, 2026
    22e0166
    a387670
  8. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/815000 mentions this issue: sumdb: ignore unrelated hashes in Lookup

  9. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/815020 mentions this issue: all: update vendored x/mod

  10. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/815100 mentions this issue: [internal-branch.go1.27-vendor] sumdb: ignore unrelated hashes in Lookup

  11. changed the title [-]security: fix CVE-2026-56864[/-] [+]x/mod/sumdb: ignore unrelated, unauthenticated hashes in Lookup[/+] on Aug 13, 2026
  12. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/815082 mentions this issue: [internal-branch.go1.26-vendor] sumdb: ignore unrelated hashes in Lookup

  13. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/815120 mentions this issue: [internal-branch.go1.25-vendor] sumdb: ignore unrelated hashes in Lookup

  14. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/815240 mentions this issue: [release-branch.go1.27] cmd/internal/moddeps: restore tests

  15. added 2 commits that reference this issue on Aug 13, 2026
    1522b2d
    0fca453
  16. added a commit that references this issue on Aug 14, 2026
    57549bf
  17. changed the title [-]x/mod/sumdb: ignore unrelated, unauthenticated hashes in Lookup[/-] [+]cmd/go, x/mod/sumdb: ignore unrelated, unauthenticated hashes in Lookup[/+] on Aug 15, 2026
  18. added this to the Go1.27 milestone on Aug 15, 2026
  19. added a commit that references this issue on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions