Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42501: CWE-347: Improper Verification of Cryptographic Signature in Go toolchain cmd/go

0
High
VulnerabilityCVE-2026-42501cvecve-2026-42501cwe-347
Published: Thu May 07 2026 (05/07/2026, 19:41:19 UTC)
Source: CVE Database V5
Vendor/Project: Go toolchain
Product: cmd/go

Description

CVE-2026-42501 is a vulnerability in the Go toolchain's cmd/go module that allows a malicious module proxy to bypass checksum database validation. This flaw arises because the go command incorrectly permits validation to succeed when the checksum database returns a successful response with no entry for the module. As a result, a malicious proxy can serve altered versions of the Go toolchain or modules, potentially leading to execution of tampered code. Users relying on untrusted module proxies or checksum databases are affected. The vulnerability impacts the security of toolchain downloads and module verification. Users can detect potential compromise by removing go. sum and running go mod tidy and go mod verify. A fix or official remediation status has not been confirmed yet. The severity is assessed as high due to the risk of executing altered toolchain components.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/07/2026, 20:21:33 UTC

Technical Analysis

This vulnerability (CVE-2026-42501) in the Go toolchain's cmd/go component involves improper verification of cryptographic signatures (CWE-347) during module checksum validation. When the go command queries the checksum database for a module not listed in go.sum, it expects a cryptographically signed checksum. However, if the checksum database returns a successful response with no entry, the go command incorrectly treats this as valid. A malicious module proxy can exploit this by returning empty or unrelated checksum responses, causing the go command to accept altered modules or toolchains. This affects users who use untrusted GOPROXY or GOSUMDB settings. The vulnerability allows bypassing checksum validation, undermining the integrity of downloaded modules and toolchains. The go tool does validate hashes before execution, but this flaw can cause incorrect hashes to be recorded in go.sum, potentially leading to execution of tampered code. No patch or official remediation has been confirmed at this time.

Potential Impact

The vulnerability allows a malicious module proxy to bypass checksum database validation, enabling it to serve altered versions of Go modules or the Go toolchain. This can lead to execution of tampered code, compromising the integrity and security of the Go development environment. Since the go command trusts go.sum files for module hashes, a compromised proxy can cause incorrect hashes to be recorded, potentially affecting builds and deployments. Users relying on untrusted proxies or checksum databases are at risk. However, the go tool validates hashes before executing toolchains, which mitigates some risk for cached toolchains. No known exploits in the wild have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users are advised to upgrade their base Go toolchain once a fixed version is released, as setting GOTOOLCHAIN to a fixed version alone is insufficient. To detect potential compromise, users who have configured a non-trusted GOPROXY can run the following commands: remove the go.sum file, then run 'go mod tidy' and 'go mod verify' to revalidate all dependencies. Until an official fix is available, avoid using untrusted module proxies or checksum databases. Monitor the official Go project advisories for updates and apply patches promptly when released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-04-28T00:21:12.791Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69fcf0c4cbff5d86102bd60c

Added to database: 5/7/2026, 8:06:28 PM

Last enriched: 5/7/2026, 8:21:33 PM

Last updated: 5/7/2026, 9:07:02 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses