Malicious module proxy can bypass checksum database in cmd/go
Published May 7, 2026
7.5
HIGHCVSS 3.1
EPSS 0.29%
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.
Affected products
-
- Version 0StatusaffectedConstraints<1.25.10
- Version 1.26.0-0StatusaffectedConstraints<1.26.3
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Go toolchain | Cmd/go | unaffected |
|
No data.
Red Hat Enterprise Linux 10
golang-0:1.26.3-4.el10_2
Fixed · RHSA-2026:22120
Red Hat Enterprise Linux 10.0 Extended Update Support
golang-0:1.26.5-1.el10_0
Fixed · RHSA-2026:49702
Red Hat Enterprise Linux 8
go-toolset:rhel8-8100020260518131104.a3795dee
Fixed · RHSA-2026:22112
Red Hat Enterprise Linux 9
golang-0:1.26.3-1.el9_8
Fixed · RHSA-2026:22121
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
golang-0:1.26.5-1.el9_2
Fixed · RHSA-2026:61253
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
golang-0:1.26.5-1.el9_4
Fixed · RHSA-2026:57649
Red Hat Enterprise Linux 9.6 Extended Update Support
golang-0:1.26.5-1.el9_6
Fixed · RHSA-2026:49712
Red Hat Hardened Images
golang-fips1-25-main-1.25.9-0.1.1.hum1
Fixed · RHSA-2026:32987
Red Hat Hardened Images
golang1-25-main-1.25.11-2.hum1
Fixed · RHSA-2026:23262
Red Hat Hardened Images
golang1-26-main-1.26.4-2.hum1
Fixed · RHSA-2026:23264
Exploit Intelligence
exploit-intelligence-tech-preview/vulnerability-analysis-rhel9
Fix deferred
Multicluster Engine for Kubernetes
multicluster-engine/addon-manager-rhel9
Affected
Multicluster Engine for Kubernetes
multicluster-engine/backplane-rhel9-operator
Not affected
Multicluster Engine for Kubernetes
multicluster-engine/clusterlifecycle-state-metrics-rhel9
Affected
Multicluster Engine for Kubernetes
multicluster-engine/hypershift-addon-rhel9-operator
Affected
Multicluster Engine for Kubernetes
multicluster-engine/maestro-rhel9
Affected
Multicluster Engine for Kubernetes
multicluster-engine/managedcluster-import-controller-rhel9
Affected
Multicluster Engine for Kubernetes
multicluster-engine/multicloud-manager-rhel9
Affected
Multicluster Engine for Kubernetes
multicluster-engine/placement-rhel9
Affected
Multicluster Engine for Kubernetes
multicluster-engine/registration-operator-rhel9
Affected
Multicluster Engine for Kubernetes
multicluster-engine/registration-rhel9
Fix deferred
Multicluster Engine for Kubernetes
multicluster-engine/work-rhel9
Affected
OpenShift API for Data Protection
multicluster-engine/addon-manager-rhel9
Fix deferred
OpenShift API for Data Protection
multicluster-engine/backplane-rhel9-operator
Fix deferred
OpenShift API for Data Protection
multicluster-engine/clusterlifecycle-state-metrics-rhel9
Fix deferred
OpenShift API for Data Protection
multicluster-engine/hypershift-addon-rhel9-operator
Fix deferred
OpenShift API for Data Protection
multicluster-engine/maestro-rhel9
Fix deferred
OpenShift API for Data Protection
multicluster-engine/managedcluster-import-controller-rhel9
Fix deferred
OpenShift API for Data Protection
multicluster-engine/multicloud-manager-rhel9
Fix deferred
OpenShift API for Data Protection
multicluster-engine/placement-rhel9
Fix deferred
OpenShift API for Data Protection
multicluster-engine/registration-operator-rhel9
Fix deferred
OpenShift API for Data Protection
multicluster-engine/work-rhel9
Fix deferred
OpenShift API for Data Protection
oadp/oadp-velero-rhel9
Fix deferred
OpenShift API for Data Protection
openshift4/ose-hypershift-rhel9
Fix deferred
OpenShift API for Data Protection
rhacm2/acm-governance-policy-addon-controller-rhel9
Fix deferred
OpenShift API for Data Protection
rhacm2/acm-governance-policy-framework-addon-rhel9
Fix deferred
OpenShift API for Data Protection
rhacm2/config-policy-controller-rhel9
Fix deferred
OpenShift API for Data Protection
rhacm2/governance-policy-propagator-rhel9
Fix deferred
OpenShift API for Data Protection
rhacm2/klusterlet-addon-controller-rhel9
Fix deferred
OpenShift Service Mesh 2
rh-osbs/openshift-golang-builder
Fix deferred
OpenShift Service Mesh 3
rh-osbs/openshift-golang-builder
Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2
rhacm2/acm-governance-policy-addon-controller-rhel9
Not affected
Red Hat Advanced Cluster Management for Kubernetes 2
rhacm2/acm-governance-policy-framework-addon-rhel9
Not affected
Red Hat Advanced Cluster Management for Kubernetes 2
rhacm2/config-policy-controller-rhel9
Not affected
Red Hat Advanced Cluster Management for Kubernetes 2
rhacm2/governance-policy-propagator-rhel9
Not affected
Red Hat Advanced Cluster Management for Kubernetes 2
rhacm2/klusterlet-addon-controller-rhel9
Affected
Red Hat Enterprise Linux AI (RHEL AI) 3
golang
Fix deferred
Red Hat OpenShift Container Platform 4
openshift4/ose-hypershift-rhel9
Fix deferred
Red Hat OpenShift Container Platform 4
rh-osbs/openshift-golang-builder
Fix deferred
Red Hat OpenShift Virtualization 4
rh-osbs/openshift-golang-builder
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | golang-0:1.26.3-4.el10_2 | Fixed | RHSA-2026:22120 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | golang-0:1.26.5-1.el10_0 | Fixed | RHSA-2026:49702 |
| Red Hat Enterprise Linux 8 | go-toolset:rhel8-8100020260518131104.a3795dee | Fixed | RHSA-2026:22112 |
| Red Hat Enterprise Linux 9 | golang-0:1.26.3-1.el9_8 | Fixed | RHSA-2026:22121 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | golang-0:1.26.5-1.el9_2 | Fixed | RHSA-2026:61253 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | golang-0:1.26.5-1.el9_4 | Fixed | RHSA-2026:57649 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | golang-0:1.26.5-1.el9_6 | Fixed | RHSA-2026:49712 |
| Red Hat Hardened Images | golang-fips1-25-main-1.25.9-0.1.1.hum1 | Fixed | RHSA-2026:32987 |
| Red Hat Hardened Images | golang1-25-main-1.25.11-2.hum1 | Fixed | RHSA-2026:23262 |
| Red Hat Hardened Images | golang1-26-main-1.26.4-2.hum1 | Fixed | RHSA-2026:23264 |
| Exploit Intelligence | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Fix deferred | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/addon-manager-rhel9 | Affected | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/backplane-rhel9-operator | Not affected | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/clusterlifecycle-state-metrics-rhel9 | Affected | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/hypershift-addon-rhel9-operator | Affected | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/maestro-rhel9 | Affected | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/managedcluster-import-controller-rhel9 | Affected | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/multicloud-manager-rhel9 | Affected | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/placement-rhel9 | Affected | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/registration-operator-rhel9 | Affected | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/registration-rhel9 | Fix deferred | n/a |
| Multicluster Engine for Kubernetes | multicluster-engine/work-rhel9 | Affected | n/a |
| OpenShift API for Data Protection | multicluster-engine/addon-manager-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | multicluster-engine/backplane-rhel9-operator | Fix deferred | n/a |
| OpenShift API for Data Protection | multicluster-engine/clusterlifecycle-state-metrics-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | multicluster-engine/hypershift-addon-rhel9-operator | Fix deferred | n/a |
| OpenShift API for Data Protection | multicluster-engine/maestro-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | multicluster-engine/managedcluster-import-controller-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | multicluster-engine/multicloud-manager-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | multicluster-engine/placement-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | multicluster-engine/registration-operator-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | multicluster-engine/work-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | oadp/oadp-velero-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | openshift4/ose-hypershift-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | rhacm2/acm-governance-policy-addon-controller-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | rhacm2/acm-governance-policy-framework-addon-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | rhacm2/config-policy-controller-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | rhacm2/governance-policy-propagator-rhel9 | Fix deferred | n/a |
| OpenShift API for Data Protection | rhacm2/klusterlet-addon-controller-rhel9 | Fix deferred | n/a |
| OpenShift Service Mesh 2 | rh-osbs/openshift-golang-builder | Fix deferred | n/a |
| OpenShift Service Mesh 3 | rh-osbs/openshift-golang-builder | Fix deferred | n/a |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-governance-policy-addon-controller-rhel9 | Not affected | n/a |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-governance-policy-framework-addon-rhel9 | Not affected | n/a |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/config-policy-controller-rhel9 | Not affected | n/a |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/governance-policy-propagator-rhel9 | Not affected | n/a |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/klusterlet-addon-controller-rhel9 | Affected | n/a |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | golang | Fix deferred | n/a |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-hypershift-rhel9 | Fix deferred | n/a |
| Red Hat OpenShift Container Platform 4 | rh-osbs/openshift-golang-builder | Fix deferred | n/a |
| Red Hat OpenShift Virtualization 4 | rh-osbs/openshift-golang-builder | Fix deferred | n/a |
toolchain
Go
Introduced 1.26.0-0 Fixed 1.26.3toolchain
Go
Introduced 0 Fixed 1.25.10
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | toolchain | 1.26.0-0 | 1.26.3 |
| Go | toolchain | 0 | 1.25.10 |
Remediation
Red Hat statement
This Moderate impact flaw in the Go command (`cmd/go`) allows a malicious module proxy to bypass checksum validation, potentially leading to the execution of untrusted Go toolchains. Red Hat products utilizing the Go command are vulnerable if configured to use an untrusted module proxy or checksum database, as this could compromise the integrity of the Go development environment. Exploitation requires user interaction with a compromised proxy.
Red Hat mitigation
To verify the integrity of Go module dependencies and detect potential tampering by a malicious proxy, users can revalidate all dependencies of the current module. This process involves removing the existing `go.sum` file and then re-generating and verifying module checksums. Execute the following commands in your module's root directory: ```bash rm go.sum go mod tidy go mod verify ``` This operation will re-download and re-verify all module dependencies. Be aware that this may affect your local module cache and could require re-building projects.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed May 8, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
May–Oct 2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.29% (0.00285) | 18.96th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.23% (0.00231) | 13.63th | v5 (v2026.06.15) |
| May 8, 2026 | 0.01% (0.00007) | 0.51th | v4 (v2025.03.14) |
References (8)
- https://access.redhat.com/security/cve/CVE-2026-42501 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2467810 Issue Tracking
- https://go.dev/cl/775321 Patch
- https://go.dev/issue/79070 Issue Tracking
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M Release Notes
- https://nvd.nist.gov/vuln/detail/CVE-2026-42501
- https://pkg.go.dev/vuln/GO-2026-4984 Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-42501
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-42501 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2467810 | Issue Tracking | |
| https://go.dev/cl/775321 | Patch | |
| https://go.dev/issue/79070 | Issue Tracking | |
| https://groups.google.com/g/golang-announce/c/qcCIEXso47M | Release Notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-42501 | ||
| https://pkg.go.dev/vuln/GO-2026-4984 | Vendor Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2026-42501 |
Change history (0)
No recorded changes yet.