CVE-2026-39819
Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
Severity Score
5.3
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
Track
*SSVC
Descriptions
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.
*Credits:
Harshit Gupta (Mr HAX)
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:Track
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2026-04-07 CVE Reserved
- 2026-05-07 CVE Published
- 2026-05-13 CVE Updated
- 2026-05-14 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
CAPEC
References (4)
| URL | Tag | Source |
|---|---|---|
| https://go.dev/issue/78584 | Issue Tracking | |
| https://groups.google.com/g/golang-announce/c/qcCIEXso47M | Issue Tracking |
| URL | Date | SRC |
|---|
| URL | Date | SRC |
|---|---|---|
| https://go.dev/cl/763882 | 2026-05-08 |
| URL | Date | SRC |
|---|---|---|
| https://pkg.go.dev/vuln/GO-2026-4978 | 2026-05-08 |
Affected Vendors, Products, and Versions
| Vendor | Product | Version | Other | Status | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
| Golang Search vendor "Golang" | Go Search vendor "Golang" for product "Go" | < 1.25.10 Search vendor "Golang" for product "Go" and version " < 1.25.10" | - |
Affected
| ||||||
| Golang Search vendor "Golang" | Go Search vendor "Golang" for product "Go" | >= 1.26.0 < 1.26.3 Search vendor "Golang" for product "Go" and version " >= 1.26.0 < 1.26.3" | - |
Affected
| ||||||
