Skip to content

cmd/go, x/mod/sumdb/tlog: fix transparency log tile verification bypass #80744

Closed

Description

@thatnealpatel

A malicious GOPROXY was previously capable of forging
up to two sumdb tiles that allow for a requested module
to bypass the GOSUMDB check and persist attacker-controlled
module content to a local Go module cache.

This attack allows for a malicious GOPROXY to serve
malicious module content that cannot be detected
by evaluating the transparency log.

All tiles are now correctly verified against their parents.

In order to determine if you have been affected:

rm -r go.sum go.work.sum vendor/ && go mod tidy

Thanks to Filippo Valsorda (Geomys) for reporting this issue.

This is CVE-2026-56865 and Go issue https://go.dev/issue/80744.


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

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: #80764 (for 1.25), #80765 (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. added a commit that references this issue on Aug 13, 2026
    115eb47
  4. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

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

  5. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

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

  6. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

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

  7. added 2 commits that reference this issue on Aug 13, 2026
    b0b8c97
    b0365c1
  8. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

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

  9. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/815080 mentions this issue: [internal-branch.go1.27-vendor] sumdb/tlog: fix TileHashReader authentication bypass

  10. changed the title [-]security: fix CVE-2026-56865[/-] [+]x/mod/sumdb/tlog: fix transparency log tile verification bypass[/+] on Aug 13, 2026
  11. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/815081 mentions this issue: [internal-branch.go1.26-vendor] sumdb/tlog: fix TileHashReader authentication bypass

  12. gopherbot commented on Aug 13, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/815083 mentions this issue: [internal-branch.go1.25-vendor] sumdb/tlog: fix TileHashReader authentication bypass

  13. 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

  14. added 2 commits that reference this issue on Aug 13, 2026
    1522b2d
    0fca453
  15. changed the title [-]x/mod/sumdb/tlog: fix transparency log tile verification bypass[/-] [+]cmd/go, x/mod/sumdb/tlog: fix transparency log tile verification bypass[/+] on Aug 15, 2026
  16. added this to the Go1.27 milestone on Aug 15, 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