Known vulnerabilities and malicious package reports for toolchain on Go, live from OSV, with CISA KEV exploitation status and EPSS scores.
Known package reports
0 malicious package reports and 45 vulnerabilities returned by OSV. Check a specific version to see which reports apply.
Remote command execution via "go get" with "-u" flag in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.10.6, introduced 1.11.0-0, fixed 1.11.3.
Fix versions reported by the advisory: 1.10.6, 1.11.3.
Severity: HIGH.
CVE-2018-16873
Remote command execution via "go get" command with "-insecure" option in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.9.5, introduced 1.10.0-0, fixed 1.10.1.
Fix versions reported by the advisory: 1.9.5, 1.10.1.
Severity: HIGH.
CVE-2018-7187
Buffer overflow in WASM modules in misc/wasm and cmd/link
Published .
Updated .
Affected ranges: introduced 0, fixed 1.16.9, introduced 1.17.0-0, fixed 1.17.2.
Fix versions reported by the advisory: 1.16.9, 1.17.2.
Severity: CRITICAL.
CVE-2021-38297
Remote command execution via "go get" in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.8.4, introduced 1.9.0-0, fixed 1.9.1.
Fix versions reported by the advisory: 1.8.4, 1.9.1.
Severity: CRITICAL.
CVE-2017-15041
Remote command execution via "go get" command with cgo in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.8.7, introduced 1.9.0-0, fixed 1.9.4.
Fix versions reported by the advisory: 1.8.7, 1.9.4.
Severity: HIGH.
CVE-2018-6574
Arbitrary code injection via the go command with cgo on Windows in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.14.14, introduced 1.15.0-0, fixed 1.15.7.
Fix versions reported by the advisory: 1.14.14, 1.15.7.
Severity: HIGH.
CVE-2021-3115
Directory traversal via "go get" command in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.10.6, introduced 1.11.0-0, fixed 1.11.3.
Fix versions reported by the advisory: 1.10.6, 1.11.3.
Severity: HIGH.
CVE-2018-16874
Incorrect access control in the go command in cmd/go/internal/modfetch
Published .
Updated .
Affected ranges: introduced 0, fixed 1.16.14, introduced 1.17.0-0, fixed 1.17.7.
Fix versions reported by the advisory: 1.16.14, 1.17.7.
Severity: HIGH.
CVE-2022-23773
Arbitrary code execution via the go command with cgo in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.14.12, introduced 1.15.0-0, fixed 1.15.5.
Fix versions reported by the advisory: 1.14.12, 1.15.5.
Severity: HIGH.
CVE-2020-28367
Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo
Published .
Updated .
Affected ranges: introduced 0, fixed 1.14.12, introduced 1.15.0-0, fixed 1.15.5.
Fix versions reported by the advisory: 1.14.12, 1.15.5.
Severity: HIGH.
CVE-2020-28366
Arbitrary code execution during build via line directives in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.20.9, introduced 1.21.0-0, fixed 1.21.2.
Fix versions reported by the advisory: 1.20.9, 1.21.2.
Severity: HIGH.
CVE-2023-39323
Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.19.10, introduced 1.20.0-0, fixed 1.20.5.
Fix versions reported by the advisory: 1.19.10, 1.20.5.
Severity: CRITICAL.
CVE-2023-29404
Arbitrary code execution via go.mod toolchain directive in cmd/go
Published .
Updated .
Affected ranges: introduced 1.21.0-0, fixed 1.21.1.
Fix versions reported by the advisory: 1.21.1.
Severity: CRITICAL.
CVE-2023-39320
Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.19.10, introduced 1.20.0-0, fixed 1.20.5.
Fix versions reported by the advisory: 1.19.10, 1.20.5.
Severity: CRITICAL.
CVE-2023-29405
Code injection via go command with cgo in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.19.10, introduced 1.20.0-0, fixed 1.20.5.
Fix versions reported by the advisory: 1.19.10, 1.20.5.
Severity: CRITICAL.
CVE-2023-29402
Command 'go get' may unexpectedly fallback to insecure git in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.20.12, introduced 1.21.0-0, fixed 1.21.5.
Fix versions reported by the advisory: 1.20.12, 1.21.5.
Severity: HIGH.
CVE-2023-45285
Output of "go env" does not sanitize values in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.21.0-0.
Fix versions reported by the advisory: 1.21.0-0.
Severity: CRITICAL.
CVE-2023-24531
Arbitrary code execution during build on Darwin in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.21.10, introduced 1.22.0-0, fixed 1.22.3.
Fix versions reported by the advisory: 1.21.10, 1.22.3.
Severity: MEDIUM.
CVE-2024-24787
GOAUTH credential leak in cmd/go
Published .
Updated .
Affected ranges: introduced 1.24.0-0, fixed 1.24.0-rc.2.
Fix versions reported by the advisory: 1.24.0-rc.2.
Severity: HIGH.
CVE-2024-45340
Code execution vulnerability in SWIG code generation in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.25.9, introduced 1.26.0-0, fixed 1.26.2.
Fix versions reported by the advisory: 1.25.9, 1.26.2.
Severity: HIGH.
CVE-2026-27140
Arbitrary command execution via GCC spec files in cgo linker search directories in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.26.11, introduced 1.27.0-0, fixed 1.27.4.
Fix versions reported by the advisory: 1.26.11, 1.27.4.
Severity: HIGH.
CVE-2026-97034
Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link
Published .
Updated .
Affected ranges: introduced 0, fixed 1.26.11, introduced 1.27.0-0, fixed 1.27.4.
Fix versions reported by the advisory: 1.26.11, 1.27.4.
Severity: CRITICAL.
CVE-2026-97040
Arbitrary code execution during build on darwin in cmd/go
Published .
Updated .
Affected ranges: introduced 1.24.0-rc.2, fixed 1.24.0-rc.3.
Fix versions reported by the advisory: 1.24.0-rc.3.
Severity: HIGH.
CVE-2025-22867
Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.26.11, introduced 1.27.0-0, fixed 1.27.4.
Fix versions reported by the advisory: 1.26.11, 1.27.4.
Severity: HIGH.
CVE-2026-97037
Arbitrary file write using cgo pkg-config directive in cmd/go
Published .
Updated .
Affected ranges: introduced 0, fixed 1.24.12, introduced 1.25.0, fixed 1.25.6.
Fix versions reported by the advisory: 1.24.12, 1.25.6.
Severity: HIGH.
CVE-2025-61731
More reports are available in the interactive package view.
Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.