# CVE-2026-39819: Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-05-07T19:21:40.000Z
- Modified: 2026-11-23T21:12:30.096Z
- Also known as: GO-2026-4978, BIT-GOLANG-2026-39819
- Related: RHSA-2026:22112, RHSA-2026:22120, RHSA-2026:22121, RHSA-2026:49702, RHSA-2026:49712, RHSA-2026:57649, RHSA-2026:61253, RHSA-2026:62391, RHSA-2026:66561
- Weaknesses: CWE-59, CWE-377
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- cmd/go: before 1.25.10; from 1.26.0-0 before 1.26.3
- toolchain (Go): before 1.25.10; from 1.26.0-0 before 1.26.3
- golang go: before 1.25.10; from 1.26.0 before 1.26.3
- golang (Bitnami): before 1.25.10; from 1.26.0-0 before 1.26.3

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://go.dev/issue/78584> (issue-tracking, report)
- <https://go.dev/cl/763882> (fix, patch)
- <https://groups.google.com/g/golang-announce/c/qcCIEXso47M> (issue-tracking, mailing-list, report, web)
- <https://pkg.go.dev/vuln/GO-2026-4978> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39819> (web)

## Sources

- CVE List: [CVE-2026-39819](https://www.cve.org/CVERecord?id=CVE-2026-39819), CVE Terms of Use, modified 2026-05-08
- Go Vulnerability Database: [GO-2026-4978](https://pkg.go.dev/vuln/GO-2026-4978), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-39819](https://nvd.nist.gov/vuln/detail/CVE-2026-39819), Public domain, modified 2026-11-11
- Bitnami Vulnerability Database: [BIT-GOLANG-2026-39819](https://osv.dev/vulnerability/BIT-GOLANG-2026-39819), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-39819 · Whole record: https://cve.day/CVE-2026-39819.json · Rebuilt by cve.day 2026-11-25T22:59:20.911Z
