Description
The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs when possibly dangerous VCS configuration is present in repositories. This can happen when a repository was fetched via one VCS (e.g. Git), but contains metadata for another VCS (e.g. Mercurial). Modules which are retrieved using the go command line, i.e. via "go get", are not affected.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Go toolchain | cmd/go | < 1.23.11, 1.24.0-0 – < 1.24.5 | 1.23.11 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | golang-1.24 | No fix yet | — |
| Debian 12 | golang-1.19 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | golang-1.23 | No fix yet | — |
| Ubuntu 25.10 | golang-1.23 +1 | No fix yet | — |
| Ubuntu 24.04 LTS | golang-1.21 +2 | No fix yet | — |
| Ubuntu 22.04 LTS | golang-1.18 +4 | No fix yet | — |
| Ubuntu 20.04 LTS | golang-1.18 +3 | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | golang-1.18 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | golang-1.18 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | golang +7 | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| RHEL 9 | golang +7 | 1.24.6-1.el9_6 | RHSA-2025:13935 |
| RHEL 8 | delve | 1.24.1-1.module+el8.10.0+22945+b2c96a17 | RHSA-2025:13940 |
| RHEL 8 | golang +6 | 1.24.6-1.module+el8.10.0+23407+428597c7 | RHSA-2025:13940 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | golang +6 | 1.21.13-10.el9_4 | RHSA-2025:13936 |
| RHEL 9.2 E4S | golang +6 | 1.19.13-18.el9_2 | RHSA-2025:13939 |
| RHEL 8.8 TUS | delve | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2025:14093 |
| RHEL 8.8 TUS | go-toolset | 1.19.13-3.module+el8.8.0+22903+37387f31 | RHSA-2025:14093 |
| RHEL 8.8 TUS | golang +6 | 1.19.13-16.module+el8.8.0+23410+958e78d9 | RHSA-2025:14093 |
| RHEL 8.8 E4S | delve | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2025:14093 |
| RHEL 8.8 E4S | go-toolset | 1.19.13-3.module+el8.8.0+22903+37387f31 | RHSA-2025:14093 |
| RHEL 8.8 E4S | golang +6 | 1.19.13-16.module+el8.8.0+23410+958e78d9 | RHSA-2025:14093 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | golang-src +3 | 1.24.6-1.el10_0.alma.1 | ALSA-2025:13941 |
| AlmaLinux 9 | golang +7 | 1.24.6-1.el9_6 | ALSA-2025:13935 |
| AlmaLinux 8 | delve | 1.24.1-1.module_el8.10.0+3977+66935a26 | ALSA-2025:13940 |
| AlmaLinux 8 | golang +6 | 1.24.6-1.module_el8.10.0+4033+4bf8b620 | ALSA-2025:13940 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | golang | 1.24.6-1.el10_0 | RLSA-2025:13941 |
| Rocky Linux 9 | golang | 1.24.6-1.el9_6 | RLSA-2025:13935 |
| Rocky Linux 8 | delve | 1.24.1-1.module+el8.10.0+1951+c74bd827 | RLSA-2025:13940 |
| Rocky Linux 8 | golang +1 | 1.24.6-1.module+el8.10.0+2048+bc5b2e29 | RLSA-2025:13940 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLES 15 SP7 | go1.23-openssl | 1.23.12-150600.13.9.1 | SUSE-SU-2025:03159-1 |
| SLES 15 SP7 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLES 15 SP7 | go1.24-openssl | 1.24.6-150600.13.9.1 | SUSE-SU-2025:03158-1 |
| SLES 15 SP7 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLES 15 SP7 | go1.25-openssl | 1.25.0-150600.13.3.1 | SUSE-SU-2026:0298-1, SUSE-SU-2025:03161-1 |
| SLES 15 SP6 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLES 15 SP6 | go1.23-openssl | 1.23.12-150600.13.9.1 | SUSE-SU-2025:03159-1 |
| SLES 15 SP6 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLES 15 SP6 | go1.24-openssl | 1.24.6-150600.13.9.1 | SUSE-SU-2025:03158-1 |
| SLES 15 SP6 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLES 15 SP6 | go1.25-openssl | 1.25.0-150600.13.3.1 | SUSE-SU-2026:0298-1, SUSE-SU-2025:03161-1 |
| SLES 15 SP5 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLES 15 SP5 | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SLES 15 SP5 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLES 15 SP5 | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SLES 15 SP5 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLES 15 SP5 | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2026:0297-1, SUSE-SU-2025:03115-1 |
| SLES 15 SP4 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLES 15 SP4 | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SLES 15 SP4 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLES 15 SP4 | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SLES 15 SP4 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLES 15 SP4 | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2026:0297-1, SUSE-SU-2025:03115-1 |
| SLES 15 SP3 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLES 15 SP3 | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SLES 15 SP3 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLES 15 SP3 | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SLES 15 SP3 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLES 15 SP3 | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2025:03115-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | go1.25-openssl | 1.25.6-150600.13.9.1 | SUSE-SU-2026:0298-1 |
| SLES for SAP 15 SP5 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLES for SAP 15 SP5 | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SLES for SAP 15 SP5 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLES for SAP 15 SP5 | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SLES for SAP 15 SP5 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLES for SAP 15 SP5 | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2026:0297-1, SUSE-SU-2025:03115-1 |
| SLES for SAP 15 SP4 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLES for SAP 15 SP4 | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SLES for SAP 15 SP4 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLES for SAP 15 SP4 | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SLES for SAP 15 SP4 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLES for SAP 15 SP4 | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2026:0297-1, SUSE-SU-2025:03115-1 |
| SLES for SAP 15 SP3 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLES for SAP 15 SP3 | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SLES for SAP 15 SP3 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLES for SAP 15 SP3 | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SLES for SAP 15 SP3 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLES for SAP 15 SP3 | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2025:03115-1 |
| SLE HPC 15 SP5 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLE HPC 15 SP5 | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SLE HPC 15 SP5 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLE HPC 15 SP5 | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SLE HPC 15 SP5 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLE HPC 15 SP5 | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2026:0297-1, SUSE-SU-2025:03115-1 |
| SLE HPC 15 SP4 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLE HPC 15 SP4 | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SLE HPC 15 SP4 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLE HPC 15 SP4 | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SLE HPC 15 SP4 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLE HPC 15 SP4 | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2026:0297-1, SUSE-SU-2025:03115-1 |
| SLE HPC 15 SP3 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SLE HPC 15 SP3 | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SLE HPC 15 SP3 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SLE HPC 15 SP3 | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SLE HPC 15 SP3 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SLE HPC 15 SP3 | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2025:03115-1 |
| SUSE Enterprise Storage 7.1 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| SUSE Enterprise Storage 7.1 | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SUSE Enterprise Storage 7.1 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| SUSE Enterprise Storage 7.1 | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SUSE Enterprise Storage 7.1 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SUSE Enterprise Storage 7.1 | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2025:03115-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | go1.23 | 1.23.11-1.1 | openSUSE-SU-2025:15328-1 |
| openSUSE Tumbleweed | go1.24 | 1.24.5-1.1 | openSUSE-SU-2025:15329-1 |
| openSUSE Tumbleweed | go1.25 | 1.25rc2-1.1 | openSUSE-SU-2025:15330-1 |
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250730T213748-1.1 | openSUSE-SU-2025:15405-1 |
| openSUSE Leap 15.6 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| openSUSE Leap 15.6 | go1.23-openssl | 1.23.12-150600.13.9.1 | SUSE-SU-2025:03159-1 |
| openSUSE Leap 15.6 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| openSUSE Leap 15.6 | go1.24-openssl | 1.24.6-150600.13.9.1 | SUSE-SU-2025:03158-1 |
| openSUSE Leap 15.6 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| openSUSE Leap 15.6 | go1.25-openssl | 1.25.0-150600.13.3.1 | SUSE-SU-2026:0298-1, SUSE-SU-2025:03161-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | go | 1.24.5-r0 | — |
| Alpine v3.23 | go | 1.24.5-r0 | — |
| Alpine v3.22 | go | 1.24.6-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | golang +6 | 1.24.5-1.amzn2023.0.1 | ALAS2023-2025-1104 |
| Amazon Linux 2 | golang +6 | 1.23.11-1.amzn2.0.1 | ALAS2-2025-2939 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | golang | 1.18.8-10 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | golang +7 | 1.24.6-1.el10_0 | ELSA-2025-13941 |
| Oracle Linux 9 | golang +7 | 1.24.6-1.el9_6 | ELSA-2025-13935 |
| Oracle Linux 8 | delve | 1.24.1-1.0.1.module+el8.10.0+90602+3daf471e | ELSA-2025-13940 |
| Oracle Linux 8 | golang +6 | 1.24.6-1.module+el8.10.0+90641+f7c45302 | ELSA-2025-13940 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | go-1.20 +1 | No fix yet | — |
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
| Wolfi rolling | newrelic-fluent-bit-output-compat | 2.4.0-r5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | toolchain | < 1.23.11 · >= 1.24.0-0, < 1.24.5 | 1.23.11, 1.24.5 | GO-2025-3828 |
Advisories 34
- ALSA-2025:13941 Important: golang security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:13935 Important: golang security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:13940 Important: go-toolset:rhel8 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:13941 Red Hat Security Advisory: golang security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2025:13935 Red Hat Security Advisory: golang security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- VDE-2026-049 Balluff GmbH: Multiple Vulnerabilities Affecting BNI EGW-720-007-K095 and BAV MA-NC-00025-01 CERT@VDE · Jun 30, 2026
- RHSA-2025:14093 Red Hat Security Advisory: go-toolset:rhel8 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2025:13940 Red Hat Security Advisory: go-toolset:rhel8 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2025:13939 Red Hat Security Advisory: golang security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2025:13936 Red Hat Security Advisory: golang security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- openSUSE-SU-2025:15405-1 govulncheck-vulndb-0.0.20250730T213748-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15330-1 go1.25-1.25rc2-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15328-1 go1.23-1.23.11-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15329-1 go1.24-1.24.5-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02837-1 Security update for go1.24-openssl SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02812-1 Security update for go1.23-openssl SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0298-1 Security update for go1.25-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03159-1 Security update for go1.23-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03115-1 Security update for go1.25-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02296-1 Security update for go1.23 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03158-1 Security update for go1.24-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02924-1 Security update for go1.25 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2026:0297-1 Security update for go1.25-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02295-1 Security update for go1.24 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03161-1 Security update for go1.25-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-1516 Golang Go: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jan 26, 2026
- RLSA-2025:13941 Important: golang security update Rocky Linux Security Advisories · Oct 8, 2025
- RLSA-2025:13935 Important: golang security update Rocky Linux Security Advisories · Oct 4, 2025
- RLSA-2025:13940 Important: go-toolset:rhel8 security update Rocky Linux Security Advisories · Sep 8, 2025
- ELSA-2025-13941 Important: golang security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Aug 18, 2025
- ELSA-2025-13940 Important: go-toolset:ol8 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 18, 2025
- ELSA-2025-13935 Important: golang security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Aug 17, 2025
- ALAS2023-2025-1104 Important: golang security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 8, 2025
- ALAS2-2025-2939 Important: golang security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 30, 2025