Unexpected code execution when invoking toolchain in cmd/go
CVE-2025-68119 is fixed in 15 products on 2 platforms, first by Go Programming Language 1.25.6, released January 15, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| Go Programming Language | 1.25.6 | Go Programming Language 1.25.6 | Jan 15, 2026 |
| Linux | |||
| amazon-ssm-agent · amzn 2023 | 3.3.3883.0-1.amzn2023 | ALAS2023-2026-1499 | Mar 16, 2026 |
| coredns · opensuse-leap 16.0 | 1.14.2-bp160.1.1 | OPENSUSE-SU-2026:20619-1 | Apr 23, 2026 |
| go1.24 · opensuse-leap 15.6 | 1.24.13-150000.1.56.1 | SUSE-SU-2026:0426-1 | Feb 11, 2026 |
| go1.24 · opensuse-leap 16.0 | 1.24.13-160000.1.1 | OPENSUSE-SU-2026:20220-1 | Feb 13, 2026 |
| go1.24 · sles 15.6 | 1.24.13-150000.1.56.1 | SUSE-SU-2026:0426-1 | Feb 11, 2026 |
| go1.24 · sles 15.7 | 1.24.13-150000.1.56.1 | SUSE-SU-2026:0426-1 | Feb 11, 2026 |
| go1.24 · sles 16.0 | 1.24.13-160000.1.1 | SUSE-SU-2026:20429-1 | Feb 13, 2026 |
| go1.24-openssl · opensuse-leap 15.6 | 1.24.13-150600.13.18.1 | SUSE-SU-2026:0789-1 | Mar 3, 2026 |
| go1.24-openssl · opensuse-leap 16.0 | 1.24.13-160000.1.1 | OPENSUSE-SU-2026:20308-1 | Mar 3, 2026 |
| go1.24-openssl · sles 15.6 | 1.24.13-150600.13.18.1 | SUSE-SU-2026:0789-1 | Mar 3, 2026 |
| go1.24-openssl · sles 15.7 | 1.24.13-150600.13.18.1 | SUSE-SU-2026:0789-1 | Mar 3, 2026 |
| go1.24-openssl · sles 16.0 | 1.24.13-160000.1.1 | SUSE-SU-2026:20629-1 | Mar 3, 2026 |
| go1.25 · opensuse-leap 15.6 | 1.25.6-150000.1.26.1 | SUSE-SU-2026:0218-1 | Jan 22, 2026 |
| go1.25 · opensuse-leap 16.0 | 1.25.6-160000.1.1 | OPENSUSE-SU-2026:20085-1 | Jan 22, 2026 |
| go1.25 · sles 15.6 | 1.25.6-150000.1.26.1 | SUSE-SU-2026:0218-1 | Jan 22, 2026 |
| go1.25 · sles 15.7 | 1.25.6-150000.1.26.1 | SUSE-SU-2026:0218-1 | Jan 22, 2026 |
| go1.25 · sles 16.0 | 1.25.6-160000.1.1 | SUSE-SU-2026:20132-1 | Jan 22, 2026 |
| go1.25-openssl · opensuse-leap 15.6 | 1.25.6-150600.13.9.1 | SUSE-SU-2026:0298-1 | Jan 26, 2026 |
| go1.25-openssl · opensuse-leap 16.0 | 1.25.7-160000.1.1 | OPENSUSE-SU-2026:20301-1 | Mar 3, 2026 |
| go1.25-openssl · sles 15.6 | 1.25.6-150600.13.9.1 | SUSE-SU-2026:0298-1 | Jan 26, 2026 |
| go1.25-openssl · sles 15.7 | 1.25.6-150600.13.9.1 | SUSE-SU-2026:0298-1 | Jan 26, 2026 |
| go1.25-openssl · sles 16.0 | 1.25.7-160000.1.1 | SUSE-SU-2026:20623-1 | Mar 3, 2026 |
| golang · amzn 2023 | 1.24.12-1.amzn2023.0.1 | ALAS2023-2026-1381 | Feb 5, 2026 |
| golang-bin · amzn 2023 | 1.24.12-1.amzn2023.0.1 | ALAS2023-2026-1381 | Feb 5, 2026 |
| golang-docs · amzn 2023 | 1.24.12-1.amzn2023.0.1 | ALAS2023-2026-1381 | Feb 5, 2026 |
| golang-misc · amzn 2023 | 1.24.12-1.amzn2023.0.1 | ALAS2023-2026-1381 | Feb 5, 2026 |
| golang-shared · amzn 2023 | 1.24.12-1.amzn2023.0.1 | ALAS2023-2026-1381 | Feb 5, 2026 |
| golang-src · amzn 2023 | 1.24.12-1.amzn2023.0.1 | ALAS2023-2026-1381 | Feb 5, 2026 |
| golang-tests · amzn 2023 | 1.24.12-1.amzn2023.0.1 | ALAS2023-2026-1381 | Feb 5, 2026 |
| govulncheck-vulndb · opensuse-leap 15.6 | 0.0.20260128T190828-150000.1.143.1 | SUSE-SU-2026:0354-1 | Jan 30, 2026 |
| govulncheck-vulndb · opensuse-leap 16.0 | 0.0.20260723T184607-160000.1.1 | OPENSUSE-SU-2026:21483-1 | Jul 30, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.