Vulnerability GO-2026-4978
Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
6 months ago
May 07, 2026 at 07:21 PM UTC
Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
<1.25.10, >=1.26.0-0 <1.26.3
<1.25.10, >=1.26.0-0 <1.26.3
Summary
Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
Details
The "go bug" command writes to two files with predictable names in the system temporary directory (for example, "/tmp").
An attacker with access to the temporary directory can create a symlink in one of these names, causing "go bug" to overwrite the target of the symlink.
References
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Unknown
12 days ago
Unexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compile
<1.26.11, >=1.27.0-0 <1.27.4 GO-2026-6848
<1.26.11, >=1.27.0-0 <1.27.4 GO-2026-6848
Unknown
12 days ago
Linker flag injection via cgo_import_dynamic and PE DLL names in cmd/cgo, cmd/compile, and cmd/link
<1.26.11, >=1.27.0-0 <1.27.4 GO-2026-6849
<1.26.11, >=1.27.0-0 <1.27.4 GO-2026-6849
Unknown
12 days ago
Host linker flag injection via //go:cgo_* directives in cmd/compile and cmd/link
<1.26.11, >=1.27.0-0 <1.27.4 GO-2026-6850
<1.26.11, >=1.27.0-0 <1.27.4 GO-2026-6850
Unknown
12 days ago
Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link
<1.26.11, >=1.27.0-0 <1.27.4 GO-2026-6851
<1.26.11, >=1.27.0-0 <1.27.4 GO-2026-6851
Unknown
12 days ago
Flag sanitization bypass via "#cgo pkg-config:" directives in cmd/go
<1.26.11, >=1.27.0-0 <1.27.4 GO-2026-6852
<1.26.11, >=1.27.0-0 <1.27.4 GO-2026-6852
Impacted packages
Timeline
Published
6 months ago
May 07, 2026 at 07:21 PM UTC
Last Modified
1 hour ago
November 23, 2026 at 09:12 PM UTC