{"id":"CVE-2026-39819","published":"2026-05-07T19:41:18Z","modified":"2026-05-08T21:29:53Z","title":"Invoking \"go bug\" follows symlinks in predictable temporary filenames in cmd/go","vendor":"Go toolchain","product":"cmd/go","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00179,"percentile":0.07669,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/78584","tags":[]},{"url":"https://go.dev/cl/763882","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/qcCIEXso47M","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-4978","tags":[]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":1.53},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"go-toolchain","affectedVersions":[{"vendor":"Go toolchain","product":"cmd/go","versions":["< 1.25.10",">= 1.26.0-0, < 1.26.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-08T16:56:43.015860Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"toolchain","vulnerableRanges":["<1.25.10",">=1.26.0-0, <1.26.3"],"patched":["1.25.10","1.26.3"],"from":["GO-2026-4978"],"provenance":"source"}],"summary":{"text":"The Go toolchain's cmd/go component contains a flaw in the \"go bug\" command, which writes to two files with predictable names in the system temporary directory. An attacker who has local access to the temporary directory with low privileges, and who can make a user run \"go bug\", can plant a symlink under one of those predictable names so that the command overwrites the symlink's target file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:58Z"},"euvd":{"id":"EUVD-2026-28422","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-27140","published":"2026-04-08","fixed":"1.26.2","kev":false,"link":{"from":"CVE-2026-27140","to":"CVE-2026-39819","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:toolchain","fromFixed":"1.25.9","toFixed":"1.25.10","daysApart":29}]}},{"cve":"CVE-2026-27143","published":"2026-04-08","fixed":"1.26.2","kev":false},{"cve":"CVE-2026-27144","published":"2026-04-08","fixed":"1.26.2","kev":false},{"cve":"CVE-2026-39817","published":"2026-05-07","fixed":"1.26.3","kev":false},{"cve":"CVE-2026-39819","published":"2026-05-07","fixed":"1.26.3","kev":false},{"cve":"CVE-2026-42501","published":"2026-05-07","fixed":"1.26.3","kev":false},{"cve":"CVE-2026-56864","published":"2026-08-13","fixed":"1.27.0-rc.3","kev":false},{"cve":"CVE-2026-56865","published":"2026-08-13","fixed":"1.27.0-rc.3","kev":false}],"package":"Go:toolchain"}}