CVE-2026-42501 Malicious module proxy can bypass checksum database in cmd/go
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
73 packages: 16 fixed, 57 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux golang(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| debian/golang-1.19(Debian 12) | = 1.19.8-2; = 1.19.9-1; = 1.19.10-1; = 1.19.10-2 +9 more | No fix listed | No fix yet |
| debian/golang-1.24(Debian 13) | = 1.24.4-1; = 1.24.4-2; = 1.24.4-3; = 1.24.4-4 +7 more | No fix listed | No fix yet |
| redhat/exploit-intelligence-tech-preview/vulnerability-analysis-rhel9(Red Hat exploit_intelligence 0) | All versions | No fix listed | No fix yet |
| redhat/go-toolset:rhel8-8100020260518131104.a3795dee(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/golang(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/addon-manager-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/addon-manager-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/backplane-rhel9-operator(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/clusterlifecycle-state-metrics-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/clusterlifecycle-state-metrics-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/hypershift-addon-rhel9-operator(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/hypershift-addon-rhel9-operator(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/maestro-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/maestro-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/managedcluster-import-controller-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/managedcluster-import-controller-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/multicloud-manager-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/multicloud-manager-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/placement-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/placement-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/registration-operator-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/registration-operator-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/registration-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/work-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/work-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/oadp/oadp-velero-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/openshift4/ose-hypershift-rhel9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift4/ose-hypershift-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/rh-osbs/openshift-golang-builder(Red Hat container_native_virtualization 4) | All versions | No fix listed | No fix yet |
… and 43 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cmd/go(Go) | < 1.25.10 | 1.25.10 |
| cmd/go(Go) | >= 1.26.0-0, < 1.26.3 | 1.26.3 |
| redhat/golang(Red Hat:enterprise_linux:10.2) | < 1.26.3-4.el10_2 | 1.26.3-4.el10_2 |
| redhat/golang(Red Hat:enterprise_linux_eus:10.0) | < 1.26.5-1.el10_0 | 1.26.5-1.el10_0 |
| redhat/go-toolset:rhel8-8100020260518131104.a3795dee(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/golang(Red Hat:enterprise_linux:9) | < 1.26.3-1.el9_8 | 1.26.3-1.el9_8 |
| redhat/golang(Red Hat:rhel_e4s:9.2) | < 1.26.5-1.el9_2 | 1.26.5-1.el9_2 |
| redhat/golang(Red Hat:rhel_e4s:9.4) | < 1.26.5-1.el9_4 | 1.26.5-1.el9_4 |
| redhat/golang(Red Hat:rhel_eus:9.6) | < 1.26.5-1.el9_6 | 1.26.5-1.el9_6 |
| redhat/golang1-25-main(Red Hat:hummingbird:1) | < 1.25.11-2.hum1 | 1.25.11-2.hum1 |
| redhat/golang1-26-main(Red Hat:hummingbird:1) | < 1.26.4-2.hum1 | 1.26.4-2.hum1 |
| redhat/golang-fips1-25-main(Red Hat:hummingbird:1) | < 1.25.9-0.1.1.hum1 | 1.25.9-0.1.1.hum1 |
| redhat/exploit-intelligence-tech-preview/vulnerability-analysis-rhel9(Red Hat:exploit_intelligence:0) | All versions | No fix listed |
| redhat/multicluster-engine/addon-manager-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/clusterlifecycle-state-metrics-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/hypershift-addon-rhel9-operator(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/maestro-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/managedcluster-import-controller-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/multicloud-manager-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/placement-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/registration-operator-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/registration-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/work-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/addon-manager-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/multicluster-engine/backplane-rhel9-operator(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
Show 82 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/multicluster-engine/clusterlifecycle-state-metrics-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/multicluster-engine/hypershift-addon-rhel9-operator(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/multicluster-engine/maestro-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/multicluster-engine/managedcluster-import-controller-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/multicluster-engine/multicloud-manager-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/multicluster-engine/placement-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/multicluster-engine/registration-operator-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/multicluster-engine/work-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/oadp/oadp-velero-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/openshift4/ose-hypershift-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/rhacm2/acm-governance-policy-addon-controller-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/rhacm2/acm-governance-policy-framework-addon-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/rhacm2/config-policy-controller-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/rhacm2/governance-policy-propagator-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/rhacm2/klusterlet-addon-controller-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/rh-osbs/openshift-golang-builder(Red Hat:service_mesh:2) | All versions | No fix listed |
| redhat/rh-osbs/openshift-golang-builder(Red Hat:service_mesh:3) | All versions | No fix listed |
| redhat/rhacm2/klusterlet-addon-controller-rhel9(Red Hat:acm:2) | All versions | No fix listed |
| redhat/golang(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/openshift4/ose-hypershift-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/rh-osbs/openshift-golang-builder(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/rh-osbs/openshift-golang-builder(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/rh-osbs/openshift-golang-builder(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| ubuntu/golang-1.17(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.18(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.20(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.21(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.22(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.23(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.24(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.25(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.13(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.21(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-1.22(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-1.23(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-1.24(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-1.25(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-1.23(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-1.24(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-1.25(Ubuntu:26.04) | All versions | No fix listed |
| golang go | < 1.25.10 | 1.25.10 |
| golang go | >= 1.26.0, < 1.26.3 | 1.26.3 |
| debian/golang-1.19(Debian:12) | All versions | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.10-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.10-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.11-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2~bpo11+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2~bpo12+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1~bpo11+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1~bpo12+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.8-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.9-1 | No fix listed |
| debian/golang-1.24(Debian:13) | All versions | No fix listed |
| debian/golang-1.24(Debian:13) | = 1.24.12-1 | No fix listed |
| debian/golang-1.24(Debian:13) | = 1.24.13-1 | No fix listed |
| debian/golang-1.24(Debian:13) | = 1.24.13-2 | No fix listed |
| debian/golang-1.24(Debian:13) | = 1.24.4-1 | No fix listed |
| debian/golang-1.24(Debian:13) | = 1.24.4-2 | No fix listed |
| debian/golang-1.24(Debian:13) | = 1.24.4-3 | No fix listed |
| debian/golang-1.24(Debian:13) | = 1.24.4-4 | No fix listed |
| debian/golang-1.24(Debian:13) | = 1.24.7-1 | No fix listed |
| debian/golang-1.24(Debian:13) | = 1.24.8-1 | No fix listed |
| debian/golang-1.24(Debian:13) | = 1.24.9-1 | No fix listed |
| debian/golang-1.26(Debian:14) | < 1.26.3-1 | 1.26.3-1 |
| debian/golang-1.26(Debian:14) | = 1.26.0-1 | No fix listed |
| debian/golang-1.26(Debian:14) | = 1.26.1-1 | No fix listed |
| debian/golang-1.26(Debian:14) | = 1.26.2-1 | No fix listed |
| debian/golang-1.26(Debian:14) | = 1.26.2-2 | No fix listed |
| debian/golang-1.26(Debian:14) | = 1.26.2-3 | No fix listed |
| debian/golang-1.26(Debian:14) | = 1.26.3-1~bpo13+1 | No fix listed |
| debian/golang-1.26(Debian:14) | = 1.26~rc2-1 | No fix listed |
| debian/golang-1.26(Debian:14) | = 1.26~rc3-1 | No fix listed |
| debian/golang-1.26(Debian:14) | = 1.26~rc3-2 | No fix listed |
| toolchain(Go) | < 1.25.10 | 1.25.10 |
| toolchain(Go) | >= 1.26.0-0, < 1.26.3 | 1.26.3 |
| alpine/go(Alpine:v3.23) | < 1.25.10-r0 | 1.25.10-r0 |
| alpine/go(Alpine:v3.24) | >= 1.26.0, < 1.26.3-r0 | 1.26.3-r0 |
| alpine/rclone(Alpine:v3.24) | < 1.74.1-r0 | 1.74.1-r0 |
| azure linux golang(Azure Linux:3.0) | All versions | No fix listed |
References
- go.dev patch
- go.dev issue-tracking
- groups.google.com release-notes
- pkg.go.dev vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Security Update patch
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:22120 patch vendor-advisory
- RHSA-2026:49702 patch vendor-advisory
- RHSA-2026:22112 patch vendor-advisory
- RHSA-2026:22121 patch vendor-advisory
- RHSA-2026:61253 patch vendor-advisory
- RHSA-2026:57649 patch vendor-advisory
- RHSA-2026:49712 patch vendor-advisory
- RHSA-2026:23262 patch vendor-advisory
- RHSA-2026:23264 patch vendor-advisory
- RHSA-2026:32987 patch vendor-advisory
- Red Hat Bugzilla 2467810 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-42501 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory