toolchain (Go)

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.

GO-2022-0189: Vulnerability

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

GO-2022-0203: Vulnerability

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

GO-2022-0247: Vulnerability

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

GO-2022-0177: Vulnerability

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

GO-2022-0201: Vulnerability

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

GO-2021-0068: Vulnerability

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

GO-2022-0190: Vulnerability

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

GO-2022-0318: Vulnerability

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

GO-2022-0476: Vulnerability

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

GO-2022-0475: Vulnerability

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

GO-2023-2095: Vulnerability

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

GO-2023-1841: Vulnerability

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

GO-2023-2042: Vulnerability

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

GO-2023-1842: Vulnerability

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

GO-2023-1839: Vulnerability

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

GO-2023-2383: Vulnerability

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

GO-2024-2962: Vulnerability

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

GO-2024-2825: Vulnerability

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

GO-2025-3383: Vulnerability

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

GO-2026-4871: Vulnerability

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

GO-2026-6857: Vulnerability

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

GO-2026-6851: Vulnerability

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

GO-2025-3428: Vulnerability

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

GO-2026-6854: Vulnerability

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

GO-2026-4339: Vulnerability

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.