Malicious module proxy can bypass checksum database in cmd/go
CVE-2026-42501 is fixed in 15 products on 2 platforms, first by Go Programming Language 1.26.3, released May 7, 2026. It is not reported as exploited. Patch Radar priority: High.
A malicious module proxy can exploit a flaw in the go command's validation of module checksums to bypass checksum database validation. This vulnerability affects any user using an untrusted module proxy (GOMODPROXY) or checksum database (GOSUMDB). A malicious module proxy can serve altered versions of the Go toolchain. When selecting a different version of the Go toolchain than the currently installed toolchain (due to the GOTOOLCHAIN environment variable, or a go.work or go.mod with a toolchain line), the go command will download and execute a toolchain provided by the module proxy. A malicious module proxy can bypass checksum database validation for this downloaded toolchain. Since this vulnerability affects the security of toolchain downloads, setting GOTOOLCHAIN to a fixed version is not sufficient. You must upgrade your base Go toolchain. The go tool always validates the hash of a toolchain before executing it, so fixed versions will refuse to execute any cached, altered versions of the toolchain. The go tool trusts go.sum files to contain accurate hashes of the current module's dependencies. A malicious proxy exploiting this vulnerability to serve an altered module will have caused an incorrect hash to be recorded in the go.sum. Users who have configured a non-trusted GOPROXY can determine if they have been affected by running "rm go.sum ; go mod tidy ; go mod verify", which will revalidate all dependencies of the current module. The specific flaw in more detail: The go command consults the checksum database to validate downloaded modules, when a module is not listed in the go.sum file. It verifies that the module hash reported by the checksum database matches the hash of the downloaded module. If, however, the checksum database returns a successful response that contains no entry for the module, the go command incorrectly permitted validation to succeed. A module proxy may mirror or proxy the checksum database, in which case the go command will not connect to the checksum database directly. Checksums reported by the checksum database are cryptographically signed, so a malicious proxy cannot alter the reported checksum for a module. However, a proxy which returns an empty checksum response, or a checksum response for an unrelated module, could cause the go command to proceed as if a downloaded module has been validated.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| Go Programming Language | 1.26.3 | Go Programming Language 1.26.3 | May 7, 2026 |
| Linux | |||
| delve · RHEL 8 | 0:1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2026:22112 | Jun 1, 2026 |
| delve · almalinux 8 | 1.25.2-1.module_el8.10.0+4074+24330916 | ALSA-2026:22112 | Jun 1, 2026 |
| delve · ol 8 | 0:1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd | ELSA-2026-22112 | Jun 2, 2026 |
| delve · rocky 8 | 0:1.25.2-1.module+el8.10.0+40035+ee0a7047 | RLSA-2026:22112 | Aug 26, 2026 |
| go-toolset · RHEL 8 | 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 | RHSA-2026:22112 | Jun 1, 2026 |
| go-toolset · RHEL 9 | 0:1.26.3-1.el9_8 | RHSA-2026:22121 | Jun 1, 2026 |
| go-toolset · almalinux 8 | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 | Jun 1, 2026 |
| go-toolset · almalinux 9 | 1.26.3-1.el9_8 | ALSA-2026:22121 | Jun 1, 2026 |
| go-toolset · ol 10 | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 | Jul 21, 2026 |
| go-toolset · ol 8 | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 | Jun 2, 2026 |
| go-toolset · ol 9 | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 | Jun 23, 2026 |
| go1.25-openssl · opensuse-leap 16.0 | 1.25.12-160000.1.1 | OPENSUSE-SU-2026:21319-1 | Jul 13, 2026 |
| go1.25-openssl · sles 16.0 | 1.25.12-160000.1.1 | SUSE-SU-2026:22638-1 | Jul 13, 2026 |
| go1.26-openssl · opensuse-leap 16.0 | 1.26.4-160000.1.1 | OPENSUSE-SU-2026:21254-1 | Jul 7, 2026 |
| go1.26-openssl · sles 16.0 | 1.26.4-160000.1.1 | SUSE-SU-2026:22572-1 | Jul 7, 2026 |
| golang · RHEL 10 | 1.26.5-1.el10_0 | RHSA-2026:49702 | May 27, 2026 |
| golang · RHEL 8 | 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 | RHSA-2026:22112 | Jun 1, 2026 |
| golang · RHEL 9 | 0:1.26.3-1.el9_8 | RHSA-2026:22121 | Jun 1, 2026 |
| golang · almalinux 8 | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 | Jun 1, 2026 |
| golang · almalinux 9 | 1.26.3-1.el9_8 | ALSA-2026:22121 | Jun 1, 2026 |
| golang · amzn 2023 | 1.25.10-1.amzn2023.0.1 | ALAS2023-2026-1743 | May 25, 2026 |
| golang · ol 10 | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 | Jul 21, 2026 |
| golang · ol 8 | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 | Jun 2, 2026 |
| golang · ol 9 | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 | Jun 23, 2026 |
| golang · rocky 10 | 0:1.26.3-4.el10_2 | RLSA-2026:22120 | Aug 26, 2026 |
| golang · rocky 8 | 0:1.25.10-1.module+el8.10.0+40200+0fd0f175 | RLSA-2026:22112 | Aug 26, 2026 |
| golang · rocky 9 | 0:1.26.3-1.el9_8 | RLSA-2026:22121 | Aug 26, 2026 |
| golang-1.26 · Debian 14 | 1.26.3-1 | DEBIAN-CVE-2026-42501 | May 27, 2026 |
| golang-bin · RHEL 8 | 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 | RHSA-2026:22112 | Jun 1, 2026 |
| golang-bin · RHEL 9 | 0:1.26.3-1.el9_8 | RHSA-2026:22121 | Jun 1, 2026 |
| golang-bin · almalinux 8 | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 | Jun 1, 2026 |
| golang-bin · almalinux 9 | 1.26.3-1.el9_8 | ALSA-2026:22121 | Jun 1, 2026 |
| golang-bin · amzn 2023 | 1.25.10-1.amzn2023.0.1 | ALAS2023-2026-1743 | May 25, 2026 |
| golang-bin · ol 10 | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 | Jul 21, 2026 |
| golang-bin · ol 8 | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 | Jun 2, 2026 |
| golang-bin · ol 9 | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 | Jun 23, 2026 |
| golang-docs · RHEL 8 | 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 | RHSA-2026:22112 | Jun 1, 2026 |
| golang-docs · RHEL 9 | 0:1.26.3-1.el9_8 | RHSA-2026:22121 | Jun 1, 2026 |
| golang-docs · almalinux 8 | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 | Jun 1, 2026 |
| golang-docs · almalinux 9 | 1.26.3-1.el9_8 | ALSA-2026:22121 | Jun 1, 2026 |
| golang-docs · amzn 2023 | 1.25.10-1.amzn2023.0.1 | ALAS2023-2026-1743 | May 25, 2026 |
| golang-docs · ol 10 | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 | Jul 21, 2026 |
| golang-docs · ol 8 | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 | Jun 2, 2026 |
| golang-docs · ol 9 | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 | Jun 23, 2026 |
| golang-misc · RHEL 8 | 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 | RHSA-2026:22112 | Jun 1, 2026 |
| golang-misc · RHEL 9 | 0:1.26.3-1.el9_8 | RHSA-2026:22121 | Jun 1, 2026 |
| golang-misc · almalinux 8 | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 | Jun 1, 2026 |
| golang-misc · almalinux 9 | 1.26.3-1.el9_8 | ALSA-2026:22121 | Jun 1, 2026 |
| golang-misc · amzn 2023 | 1.25.10-1.amzn2023.0.1 | ALAS2023-2026-1743 | May 25, 2026 |
| golang-misc · ol 10 | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 | Jul 21, 2026 |
| golang-misc · ol 8 | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 | Jun 2, 2026 |
| golang-misc · ol 9 | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 | Jun 23, 2026 |
| golang-race · RHEL 8 | 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 | RHSA-2026:22112 | Jun 1, 2026 |
| golang-race · RHEL 9 | 0:1.26.3-1.el9_8 | RHSA-2026:22121 | Jun 1, 2026 |
| golang-race · almalinux 8 | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 | Jun 1, 2026 |
| golang-race · almalinux 9 | 1.26.3-1.el9_8 | ALSA-2026:22121 | Jun 1, 2026 |
| golang-race · ol 10 | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 | Jul 21, 2026 |
| golang-race · ol 8 | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 | Jun 2, 2026 |
| golang-race · ol 9 | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 | Jun 23, 2026 |
| golang-shared · amzn 2023 | 1.25.10-1.amzn2023.0.1 | ALAS2023-2026-1743 | May 25, 2026 |
| golang-src · RHEL 8 | 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 | RHSA-2026:22112 | Jun 1, 2026 |
| golang-src · RHEL 9 | 0:1.26.3-1.el9_8 | RHSA-2026:22121 | Jun 1, 2026 |
| golang-src · almalinux 8 | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 | Jun 1, 2026 |
| golang-src · almalinux 9 | 1.26.3-1.el9_8 | ALSA-2026:22121 | Jun 1, 2026 |
| golang-src · amzn 2023 | 1.25.10-1.amzn2023.0.1 | ALAS2023-2026-1743 | May 25, 2026 |
| golang-src · ol 10 | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 | Jul 21, 2026 |
| golang-src · ol 8 | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 | Jun 2, 2026 |
| golang-src · ol 9 | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 | Jun 23, 2026 |
| golang-tests · RHEL 8 | 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 | RHSA-2026:22112 | Jun 1, 2026 |
| golang-tests · RHEL 9 | 0:1.26.3-1.el9_8 | RHSA-2026:22121 | Jun 1, 2026 |
| golang-tests · almalinux 8 | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 | Jun 1, 2026 |
| golang-tests · almalinux 9 | 1.26.3-1.el9_8 | ALSA-2026:22121 | Jun 1, 2026 |
| golang-tests · amzn 2023 | 1.25.10-1.amzn2023.0.1 | ALAS2023-2026-1743 | May 25, 2026 |
| golang-tests · ol 10 | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 | Jul 21, 2026 |
| golang-tests · ol 8 | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 | Jun 2, 2026 |
| golang-tests · ol 9 | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 | Jun 23, 2026 |
| govulncheck-vulndb · opensuse-leap 16.0 | 0.0.20260723T184607-160000.1.1 | OPENSUSE-SU-2026:21483-1 | Jul 30, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.