# CVE-2025-68119: 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.

- Web page: https://patchblox.com/security/cve/CVE-2025-68119
- Priority: High
- CVSS: 7.0 (important)
- EPSS: 0.0038
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 22, 2026
- Weakness: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-68119

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Go Programming Language | 1.25.6 | [Go Programming Language 1.25.6](https://patchblox.com/security/data/fix/windows-app/golang.go-1.25.6.md) | Jan 15, 2026 |
| Linux | amazon-ssm-agent amzn 2023 | 3.3.3883.0-1.amzn2023 | [ALAS2023-2026-1499](https://patchblox.com/security/data/fix/linux/alas2023-2026-1499.md) | Mar 16, 2026 |
| Linux | coredns opensuse-leap 16.0 | 1.14.2-bp160.1.1 | [OPENSUSE-SU-2026:20619-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20619-1.md) | Apr 23, 2026 |
| Linux | go1.24 opensuse-leap 15.6 | 1.24.13-150000.1.56.1 | [SUSE-SU-2026:0426-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0426-1.md) | Feb 11, 2026 |
| Linux | go1.24 opensuse-leap 16.0 | 1.24.13-160000.1.1 | [OPENSUSE-SU-2026:20220-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20220-1.md) | Feb 13, 2026 |
| Linux | go1.24 sles 15.6 | 1.24.13-150000.1.56.1 | [SUSE-SU-2026:0426-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0426-1.md) | Feb 11, 2026 |
| Linux | go1.24 sles 15.7 | 1.24.13-150000.1.56.1 | [SUSE-SU-2026:0426-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0426-1.md) | Feb 11, 2026 |
| Linux | go1.24 sles 16.0 | 1.24.13-160000.1.1 | [SUSE-SU-2026:20429-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20429-1.md) | Feb 13, 2026 |
| Linux | go1.24-openssl opensuse-leap 15.6 | 1.24.13-150600.13.18.1 | [SUSE-SU-2026:0789-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0789-1.md) | Mar 3, 2026 |
| Linux | go1.24-openssl opensuse-leap 16.0 | 1.24.13-160000.1.1 | [OPENSUSE-SU-2026:20308-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20308-1.md) | Mar 3, 2026 |
| Linux | go1.24-openssl sles 15.6 | 1.24.13-150600.13.18.1 | [SUSE-SU-2026:0789-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0789-1.md) | Mar 3, 2026 |
| Linux | go1.24-openssl sles 15.7 | 1.24.13-150600.13.18.1 | [SUSE-SU-2026:0789-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0789-1.md) | Mar 3, 2026 |
| Linux | go1.24-openssl sles 16.0 | 1.24.13-160000.1.1 | [SUSE-SU-2026:20629-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20629-1.md) | Mar 3, 2026 |
| Linux | go1.25 opensuse-leap 15.6 | 1.25.6-150000.1.26.1 | [SUSE-SU-2026:0218-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0218-1.md) | Jan 22, 2026 |
| Linux | go1.25 opensuse-leap 16.0 | 1.25.6-160000.1.1 | [OPENSUSE-SU-2026:20085-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20085-1.md) | Jan 22, 2026 |
| Linux | go1.25 sles 15.6 | 1.25.6-150000.1.26.1 | [SUSE-SU-2026:0218-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0218-1.md) | Jan 22, 2026 |
| Linux | go1.25 sles 15.7 | 1.25.6-150000.1.26.1 | [SUSE-SU-2026:0218-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0218-1.md) | Jan 22, 2026 |
| Linux | go1.25 sles 16.0 | 1.25.6-160000.1.1 | [SUSE-SU-2026:20132-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20132-1.md) | Jan 22, 2026 |
| Linux | go1.25-openssl opensuse-leap 15.6 | 1.25.6-150600.13.9.1 | [SUSE-SU-2026:0298-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0298-1.md) | Jan 26, 2026 |
| Linux | go1.25-openssl opensuse-leap 16.0 | 1.25.7-160000.1.1 | [OPENSUSE-SU-2026:20301-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20301-1.md) | Mar 3, 2026 |
| Linux | go1.25-openssl sles 15.6 | 1.25.6-150600.13.9.1 | [SUSE-SU-2026:0298-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0298-1.md) | Jan 26, 2026 |
| Linux | go1.25-openssl sles 15.7 | 1.25.6-150600.13.9.1 | [SUSE-SU-2026:0298-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0298-1.md) | Jan 26, 2026 |
| Linux | go1.25-openssl sles 16.0 | 1.25.7-160000.1.1 | [SUSE-SU-2026:20623-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20623-1.md) | Mar 3, 2026 |
| Linux | golang amzn 2023 | 1.24.12-1.amzn2023.0.1 | [ALAS2023-2026-1381](https://patchblox.com/security/data/fix/linux/alas2023-2026-1381.md) | Feb 5, 2026 |
| Linux | golang-bin amzn 2023 | 1.24.12-1.amzn2023.0.1 | [ALAS2023-2026-1381](https://patchblox.com/security/data/fix/linux/alas2023-2026-1381.md) | Feb 5, 2026 |
| Linux | golang-docs amzn 2023 | 1.24.12-1.amzn2023.0.1 | [ALAS2023-2026-1381](https://patchblox.com/security/data/fix/linux/alas2023-2026-1381.md) | Feb 5, 2026 |
| Linux | golang-misc amzn 2023 | 1.24.12-1.amzn2023.0.1 | [ALAS2023-2026-1381](https://patchblox.com/security/data/fix/linux/alas2023-2026-1381.md) | Feb 5, 2026 |
| Linux | golang-shared amzn 2023 | 1.24.12-1.amzn2023.0.1 | [ALAS2023-2026-1381](https://patchblox.com/security/data/fix/linux/alas2023-2026-1381.md) | Feb 5, 2026 |
| Linux | golang-src amzn 2023 | 1.24.12-1.amzn2023.0.1 | [ALAS2023-2026-1381](https://patchblox.com/security/data/fix/linux/alas2023-2026-1381.md) | Feb 5, 2026 |
| Linux | golang-tests amzn 2023 | 1.24.12-1.amzn2023.0.1 | [ALAS2023-2026-1381](https://patchblox.com/security/data/fix/linux/alas2023-2026-1381.md) | Feb 5, 2026 |
| Linux | govulncheck-vulndb opensuse-leap 15.6 | 0.0.20260128T190828-150000.1.143.1 | [SUSE-SU-2026:0354-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-0354-1.md) | Jan 30, 2026 |
| Linux | govulncheck-vulndb opensuse-leap 16.0 | 0.0.20260723T184607-160000.1.1 | [OPENSUSE-SU-2026:21483-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21483-1.md) | Jul 30, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
