Go toolchain · Go · published 2026-01-28
CVE-2025-68119Unexpected code execution when invoking toolchain in cmd/go
Routine No exploitation evidence; EPSS 0.4%.
CVE-2025-68119 is not known to be exploited in the wild. EPSS estimates a 0.4% chance of exploitation in the next 30 days, higher than 32% of all CVEs. This Go vulnerability: CVSS 7.0 (v3.1), a successful attack gives total control of the component. Fixed upstream in Go 1.25.6, 1.24.12. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Go 1.25.6, 1.24.12.
Patch events
Language runtimeGo
Go security releases: 1.25.6, 1.24.12
Upgrade to
1.25.61.24.12Why: CVE-2025-61726: EPSS 2.3% with high severity (CVSS 7.5).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.4% (32th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 7.0 (v3.1)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Affected versions (from the CVE record)#
- Go toolchain cmd/go
1.25.0to before1.25.6(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.