SecurityContext

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

IdName
CWE-59Improper Link Resolution Before File Access

References

Same in every row:

  • Source: nvd
UrlTags
https://go.dev/cl/763882Patch
https://pkg.go.dev/vuln/GO-2026-4978Vendor Advisory
https://go.dev/issue/78584Issue Tracking
https://groups.google.com/g/golang-announce/c/qcCIEXso47MIssue Tracking, Mailing List

Products

ProductAffectedPlatform boundSourcesUrl
golang:go>= 1.26.0, < 1.26.3; < 1.25.10nonvd/v1/products/golang/go

Projects

RepositoryLink kindsIndexedUrl
golang/gofixyes/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