CVE-2025-68119

Unexpected code execution when invoking toolchain in cmd/go

HIGH
7
CVSS Score
Published: January 28, 2026 at 07:30 PM UTC
Updated: June 17, 2026 at 09:58 AM UTC
2 products affected across 2 vendorsGoGo

Using cmd/go by Go toolchain?

Get instant alerts when new vulnerabilities affect cmd/go - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

Downloading and building modules with malicious version strings can cause local code execution. On systems with Mercurial (hg) installed, downloading modules from non-standard sources (e.g., custom domains) can cause unexpected code execution due to how external VCS commands are constructed. This issue can also be triggered by providing a malicious version string to the toolchain. On systems with Git installed, downloading and building modules with malicious version strings can allow an attacker to write to arbitrary files on the filesystem. This can only be triggered by explicitly providing the malicious version strings to the toolchain and does not affect usage of @latest or bare module paths.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.24.121.25.0 ≤ v < 1.25.6
1.25.0 ≤ v < 1.25.61.25.0
Affected range stops below 1.25.6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (4)

Patch
Source: cverecord
https://go.dev/cl/736710
Issue TrackingPatch
Source: cverecord
https://go.dev/issue/77099
Mailing ListRelease Notes
Source: cverecord
https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUc
Vendor Advisory
Source: cverecord
https://pkg.go.dev/vuln/GO-2026-4338

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card