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
| Link | Resource |
|---|---|
| https://go.dev/cl/763882 | Patch |
| https://go.dev/issue/78584 | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/qcCIEXso47M | Issue Tracking Mailing List |
| https://pkg.go.dev/vuln/GO-2026-4978 | Vendor Advisory |
Configurations
History
13 May 2026, 15:05
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-59 | |
| References | () https://go.dev/cl/763882 - Patch | |
| References | () https://go.dev/issue/78584 - Issue Tracking | |
| References | () https://groups.google.com/g/golang-announce/c/qcCIEXso47M - Issue Tracking, Mailing List | |
| References | () https://pkg.go.dev/vuln/GO-2026-4978 - Vendor Advisory | |
| CPE | cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | |
| First Time |
Golang
Golang go |
08 May 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.3 |
07 May 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-07 20:16
Updated : 2026-05-13 15:05
NVD link : CVE-2026-39819
Mitre link : CVE-2026-39819
CVE.ORG link : CVE-2026-39819
JSON object : View
Products Affected
golang
- go
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
