---
title: "Go toolchain cmd/go vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/gotoolchain/cmd-go
type: product
description: "Go toolchain cmd/go has 32 published CVEs, 0 in CISA KEV and 0 with public exploits."
updated: 2026-11-11
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Go toolchain cmd/go vulnerabilities

Vendor: [Go toolchain](https://radicalnotion.ai/vendor/gotoolchain)

- **Published CVEs:** 32
- **In CISA KEV:** 0
- **With a public exploit:** 0
- **With a patch:** 32
- **Average CVSS:** 8.3
- **First CVE:** 2020-11-18
- **Latest CVE:** 2026-11-11
- **Platforms:** macos

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 7 |
| High | 22 |
| Medium | 3 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-94](https://radicalnotion.ai/cwe/cwe-94) | Improper Control of Generation of Code | 9 |
| [CWE-88](https://radicalnotion.ai/cwe/cwe-88) | Improper Neutralization of Argument Delimiters in a Command | 5 |
| [CWE-347](https://radicalnotion.ai/cwe/cwe-347) | Improper Verification of Cryptographic Signature | 3 |
| [CWE-77](https://radicalnotion.ai/cwe/cwe-77) | Improper Neutralization of Special Elements used in a Command | 3 |
| [CWE-354](https://radicalnotion.ai/cwe/cwe-354) | Improper Validation of Integrity Check Value | 2 |
| [CWE-78](https://radicalnotion.ai/cwe/cwe-78) | Improper Neutralization of Special Elements used in an OS Command | 2 |
| [CWE-73](https://radicalnotion.ai/cwe/cwe-73) | External Control of File Name or Path | 1 |
| [CWE-501](https://radicalnotion.ai/cwe/cwe-501) | Trust Boundary Violation | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2020 | 2 |
| 2021 | 0 |
| 2022 | 0 |
| 2023 | 6 |
| 2024 | 2 |
| 2025 | 3 |
| 2026 | 19 |

## Affected versions (top 12 of 30)

| Version | Kind | CVEs |
| --- | --- | --- |
| \< 1.26.11 | range | 9 |
| 1.27.0-0 \<= v \< 1.27.4 | range | 9 |
| \< 1.19.10 | range | 3 |
| \< 1.25.10 | range | 3 |
| 1.20.0-0 \<= v \< 1.20.5 | range | 3 |
| 1.26.0-0 \<= v \< 1.26.3 | range | 3 |
| \< 1.14.12 | range | 2 |
| \< 1.25.13 | range | 2 |
| \< 1.26.9 | range | 2 |
| 1.15.0-0 \<= v \< 1.15.5 | range | 2 |
| 1.25.0 \<= v \< 1.25.6 | range | 2 |
| 1.26.0-0 \<= v \< 1.26.6 | range | 2 |

## Fixed in (top 12 of 30)

| Version | CVEs |
| --- | --- |
| 1.26.11 | 9 |
| 1.27.4 | 9 |
| 1.19.10 | 3 |
| 1.20.5 | 3 |
| 1.25.10 | 3 |
| 1.26.3 | 3 |
| 1.14.12 | 2 |
| 1.15.5 | 2 |
| 1.25.13 | 2 |
| 1.25.6 | 2 |
| 1.26.6 | 2 |
| 1.26.9 | 2 |

## CVEs (first 30 of 32, most severe first)

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-97033 | Unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/go | high | 8.8 | No | No | Yes |
| CVE-2026-97034 | Arbitrary command execution via GCC spec files in cgo linker search directories in cmd/go | high | 8.8 | No | No | Yes |
| CVE-2026-97035 | Unexpected code execution and arbitrary file write via Clang -gen-\* and GCC -gnat\* flags in cgo in cmd/go | high | 8.8 | No | No | Yes |
| CVE-2026-97036 | Arbitrary code execution during build on darwin via "-l to\_library" in cgo in cmd/go | high | 8.8 | No | No | Yes |
| CVE-2026-97037 | Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/go | high | 8.8 | No | No | Yes |
| CVE-2026-97038 | Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/go | high | 8.8 | No | No | Yes |
| CVE-2026-97039 | Flag sanitization bypass via "#cgo pkg-config:" directives in cmd/go | high | 8.3 | No | No | Yes |
| CVE-2026-97040 | Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link | critical | 9.8 | No | No | Yes |
| CVE-2026-97043 | Unexpected code execution via escaped quotes in //go:cgo\_ldflag in cmd/go and cmd/compile | high | 8.8 | No | No | Yes |
| CVE-2026-94447 | Checksum database bypass for golang.org/toolchain in cmd/go | high | 7.8 | No | No | Yes |
| CVE-2026-94444 | Checksum bypass for golang.org/fips140 in cmd/go | high | 7.8 | No | No | Yes |
| CVE-2026-56864 | Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb | high | 7.5 | No | No | Yes |
| CVE-2026-56865 | Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog | high | 8.4 | No | No | Yes |
| CVE-2026-42501 | Malicious module proxy can bypass checksum database in cmd/go | high | 7.5 | No | No | Yes |
| CVE-2026-39817 | Invoking "go tool pack" does not sanitize output paths in cmd/go | medium | 5.9 | No | No | Yes |
| CVE-2026-39819 | Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go | medium | 5.3 | No | No | Yes |
| CVE-2026-27140 | Code execution vulnerability in SWIG code generation in cmd/go | critical | 9.8 | No | No | Yes |
| CVE-2025-61731 | Arbitrary file write using cgo pkg-config directive in cmd/go | high | 8.6 | No | No | Yes |
| CVE-2025-68119 | Unexpected code execution when invoking toolchain in cmd/go | high | 7.0 | No | No | Yes |
| CVE-2025-4674 | Unexpected command execution in untrusted VCS repositories in cmd/go | high | 8.6 | No | No | Yes |
| CVE-2025-22867 | Arbitrary code execution during build on darwin in cmd/go | high | 7.5 | No | No | Yes |
| CVE-2024-45340 | GOAUTH credential leak in cmd/go | high | 8.8 | No | No | Yes |
| CVE-2023-24531 | Output of "go env" does not sanitize values in cmd/go | critical | 9.8 | No | No | Yes |
| CVE-2024-24787 | Arbitrary code execution during build on Darwin in cmd/go | medium | 6.4 | No | No | Yes |
| CVE-2023-45285 | Command 'go get' may unexpectedly fallback to insecure git in cmd/go | high | 7.5 | No | No | Yes |
| CVE-2023-39323 | Arbitrary code execution during build via line directives in cmd/go | high | 8.1 | No | No | Yes |
| CVE-2023-39320 | Arbitrary code execution via go.mod toolchain directive in cmd/go | critical | 9.8 | No | No | Yes |
| CVE-2023-29405 | Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go | critical | 9.8 | No | No | Yes |
| CVE-2023-29404 | Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go | critical | 9.8 | No | No | Yes |
| CVE-2023-29402 | Code injection via go command with cgo in cmd/go | critical | 9.8 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Go toolchain cmd/go have?

Go toolchain cmd/go has 32 published CVE records since 2020.

### How many Go toolchain cmd/go CVEs are in CISA KEV?

None of Go toolchain cmd/go's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Go toolchain cmd/go vulnerabilities?

No Go toolchain cmd/go CVEs currently have a tracked public exploit in this dataset.

### Which versions of Go toolchain cmd/go are affected?

60 distinct Go toolchain cmd/go versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Go toolchain cmd/go CVEs?

Go toolchain cmd/go's CVEs most often map to these CWE weakness types: CWE-94 (Improper Control of Generation of Code), CWE-88 (Improper Neutralization of Argument Delimiters in a Command), CWE-347 (Improper Verification of Cryptographic Signature), CWE-77 (Improper Neutralization of Special Elements used in a Command).

### How many critical Go toolchain cmd/go vulnerabilities are there?

Go toolchain cmd/go has 7 critical and 22 high-severity CVEs.

### What is the average severity of Go toolchain cmd/go CVEs?

The average CVSS base score across Go toolchain cmd/go's scored CVEs is 8.3.

## Other products from this vendor

- [cmd/compile](https://radicalnotion.ai/vendor/gotoolchain/cmd-compile) (5 CVEs)
- [cmd/cgo](https://radicalnotion.ai/vendor/gotoolchain/cmd-cgo) (4 CVEs)
- [cmd/link](https://radicalnotion.ai/vendor/gotoolchain/cmd-link) (3 CVEs)
- [cmd\\/go](https://radicalnotion.ai/vendor/gotoolchain/cmd-go) (1 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/gotoolchain/cmd-go). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
