Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-42501

cmd/go: golang: Go command (cmd/go): Integrity bypass due to checksum validation flaw via malicious module proxy

Overview

Published
7 May 2026
Modified
11 Nov 2026
High CVE
1 Registry packages
2,038 OS packages
17 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-347

Affected packages · 1

Packages affected by CVE-2026-42501
EcosystemPackageVulnerableFixed in
Bitnami golang <1.25.10>=1.26.0-0, <1.26.3 1.25.101.26.3

Open a package to see all its vulnerabilities.

Operating systems · 2,013 fixes

Oracle Linux 2 releases · 2 packages

fixed 3
delve go-toolset
Oracle Linux fixes for CVE-2026-42501
ReleasePackageFixed in
8 delve 1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd
8 go-toolset +7 1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb
9 go-toolset +7 1.26.3-1.0.1.el9_8

Photon OS 1 release · 1 package

fixed 1
go
Photon OS fixes for CVE-2026-42501
ReleasePackageFixed in
5.0 go 1.26.3-1.ph5

Red Hat 4 releases · 3 packages

affected 3 fixed 6
openshift4-ose-hypershift-rhel9 go-toolset delve
Red Hat fixes for CVE-2026-42501
ReleasePackageFixed inAdvisory
7 openshift4-ose-hypershift-rhel9 +1 affected —
8 openshift4-ose-hypershift-rhel9 +1 affected —
8 (go-toolset:rhel8) go-toolset +7 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 RHSA-2026:22112
8 (go-toolset:rhel8) delve 0:1.25.2-1.module+el8.10.0+23746+9db33b5e RHSA-2026:22112
9 openshift4-ose-hypershift-rhel9 +1 affected —
9 go-toolset +7 0:1.26.3-1.el9_8 RHSA-2026:22121

3 more rows

SUSE Linux Enterprise 5 releases · 4 packages

fixed 20
go1-25-openssl go1-25 go1-26 go1-26-openssl
SUSE Linux Enterprise fixes for CVE-2026-42501
ReleasePackageFixed inAdvisory
15.4 go1-25-openssl +2 1.25.10-150000.1.24.1 SUSE-SU-2026:2093-1
15.4 go1-25 +2 1.25.10-150000.1.38.1 SUSE-SU-2026:1862-1
15.4 go1-26 +2 1.26.3-150000.1.12.1 SUSE-SU-2026:1861-1
15.4 go1-26-openssl +2 1.26.3-150000.1.9.1 SUSE-SU-2026:2092-1
15.5 go1-25-openssl +2 1.25.10-150000.1.24.1 SUSE-SU-2026:2093-1
15.5 go1-25 +2 1.25.10-150000.1.38.1 SUSE-SU-2026:1862-1

14 more rows

alma 2 releases · 2 packages

fixed 3
go-toolset delve
alma fixes for CVE-2026-42501
ReleasePackageFixed in
8 (go-toolset:rhel8) go-toolset +7 1.25.10-1.module_el8.10.0+4187+c45165c4
8 (go-toolset:rhel8) delve 1.25.2-1.module_el8.10.0+4074+24330916
9 go-toolset +7 1.26.3-1.el9_8

alpine 3 releases · 2 packages

fixed 5
go rclone
alpine fixes for CVE-2026-42501
ReleasePackageFixed in
3.23 go 1.25.10-r0
3.24 go 1.26.3-r0
3.24 rclone 1.74.1-r0
edge go 1.26.3-r0
edge rclone 1.74.1-r0

amazon linux 1 release · 1 package

fixed 1
golang
amazon linux fixes for CVE-2026-42501
ReleasePackageFixed in
2023 golang +6 1.25.10-1.amzn2023.0.1

chainguard 1 release · 1,293 packages

not affected 1 fixed 1,292
datadog-agent-7-76 hclgrep hclmerge-fips hclmerge tflintenv tflintenv-fips +1,287
chainguard fixes for CVE-2026-42501
ReleasePackageFixed in
datadog-agent-7-76 +8 not affected
hclgrep +1 0.0.0_git20240307-r0
hclmerge-fips 0.0.0_git20250729-r0
hclmerge 0.0.0_git20250729-r1
tflintenv 0.0.0_git20251013-r0
tflintenv-fips 0.0.0_git20251013-r1

1,287 more rows

debian 4 releases · 4 packages

affected 4 fixed 1
golang-1-15 golang-1-19 golang-1-24 golang-1-26
debian fixes for CVE-2026-42501
ReleasePackageFixed in
11 golang-1-15 affected
12 golang-1-19 affected
13 golang-1-24 affected
14 golang-1-24 affected
14 golang-1-26 1.26.3-1

echo 1 release · 1 package

affected 1
golang-1-19
echo fixes for CVE-2026-42501
ReleasePackageFixed in
golang-1-19 +1 affected

minimos 1 release · 429 packages

fixed 429
pombump tw cargobump aws-eks-pod-identity-agent gofumpt dockerize +423
minimos fixes for CVE-2026-42501
ReleasePackageFixed in
pombump 0.0.16-r8
tw 0.0.47-r1
cargobump 0.1.1-r4
aws-eks-pod-identity-agent +1 0.1.37-r1
gofumpt 0.10.0-r1
dockerize 0.11.0-r1

423 more rows

openSUSE 1 release · 3 packages

fixed 3
opa go1-25 go1-26
openSUSE fixes for CVE-2026-42501
ReleasePackageFixed inAdvisory
Tumbleweed opa +3 1.16.2-1.1 openSUSE-SU-2026:10755-1
Tumbleweed go1-25 +3 1.25.10-1.1 openSUSE-SU-2026:10723-1
Tumbleweed go1-26 +3 1.26.3-1.1 openSUSE-SU-2026:10741-1

openSUSE Leap 1 release · 4 packages

fixed 4
go1-25 go1-25-openssl go1-26 go1-26-openssl
openSUSE Leap fixes for CVE-2026-42501
ReleasePackageFixed inAdvisory
16.0 go1-25 +3 1.25.10-160000.1.1 openSUSE-SU-2026:20763-1
16.0 go1-25-openssl +2 1.25.12-160000.1.1 openSUSE-SU-2026:21319-1
16.0 go1-26 +3 1.26.3-160000.1.1 openSUSE-SU-2026:20762-1
16.0 go1-26-openssl +2 1.26.4-160000.1.1 openSUSE-SU-2026:21254-1

rocky 3 releases · 2 packages

fixed 4
go-toolset delve
rocky fixes for CVE-2026-42501
ReleasePackageFixed in
10 go-toolset +7 1.26.3-4.el10_2
8 (go-toolset:rhel8) go-toolset +7 1.25.10-1.module+el8.10.0+40200+0fd0f175
8 (go-toolset:rhel8) delve 1.25.2-1.module+el8.10.0+40035+ee0a7047
9 go-toolset +7 1.26.3-1.el9_8

root.io debian 2 releases · 2 packages

affected 2
rootio-golang-1-19 rootio-golang-1-24
root.io debian fixes for CVE-2026-42501
ReleasePackageFixed in
12 rootio-golang-1-19 affected
13 rootio-golang-1-24 affected

ubuntu 1 release · 1 package

affected 1
golang-1-22
ubuntu fixes for CVE-2026-42501
ReleasePackageFixed in
24.04 golang-1-22 affected

wolfi 1 release · 229 packages

not affected 1 fixed 228
knative-eventing-1-21 tw gke-gcloud-auth-plugin cargobump hey step-issuer +223
wolfi fixes for CVE-2026-42501
ReleasePackageFixed in
knative-eventing-1-21 +2 not affected
tw 0.0.47-r1
gke-gcloud-auth-plugin 0.1.0-r17
cargobump 0.1.1-r4
hey 0.1.5-r6
step-issuer 0.10.2-r10

223 more rows

References

Show all 38 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.