CVE-2026-39819: Go - Unrestricted File Write
- Cve: CVE-2026-39819
- Name: Go - Unrestricted File Write
- Description: 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.
- Impact: Attackers can overwrite arbitrary files, potentially leading to data tampering or system compromise.
- Remediation: Update to the latest version of Go that addresses this issue.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: file_system_write, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
- Epss score: 0.00179
- Epss percentile: 0.07406
- Assignee: [email protected]
- Published at: 2026-05-07T20:16:43Z
- Age in days: 201
- Modified at: 2026-11-11T23:10:00Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-39819
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://go.dev/cl/763882 | Patch |
| https://pkg.go.dev/vuln/GO-2026-4978 | Vendor Advisory |
| https://go.dev/issue/78584 | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/qcCIEXso47M | Issue Tracking, Mailing List |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| golang:go | >= 1.26.0, < 1.26.3; < 1.25.10 | no | nvd | /v1/products/golang/go |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| golang/go | fix | yes | /v1/repositories/golang/go |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 1852470
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports