CVE-2026-56865
Description
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
How to fix
- toolchain1.25.13, 1.26.6, 1.27.0-rc.3 or later
- golang.org/x/mod0.40.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| toolchainGo | v < 1.25.13, 1.26.0-0 ≤ v < 1.26.6, 1.27.0-0 ≤ v < 1.27.0-rc.3 | 1.25.13, 1.26.6, 1.27.0-rc.3 |
| golang.org/x/modGo | v < 0.40.0 | 0.40.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.