{"id":"GO-2026-4978","revision":"d0324712ff1f49a1b80b675d5643d3a3","records":[{"revision":"d0324712ff1f49a1b80b675d5643d3a3","observedAt":"2026-11-14T13:57:00.683+00:00","statement":{"source":"osv","id":"GO-2026-4978","aliases":["BIT-golang-2026-39819","CVE-2026-39819"],"title":"Invoking \"go bug\" follows symlinks in predictable temporary filenames in cmd/go","description":"The \"go bug\" command writes to two files with predictable names in the system temporary directory (for example, \"/tmp\").\n\nAn 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.","state":0,"publishedAt":"2026-05-07T19:21:40+00:00","modifiedAt":"2026-11-14T13:12:13.6810082+00:00","affected":[{"ecosystem":"Go","name":"toolchain","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.25.10"},{"kind":"introduced","version":"1.26.0-0"},{"kind":"fixed","version":"1.26.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/issue/78584","https://go.dev/cl/763882","https://groups.google.com/g/golang-announce/c/qcCIEXso47M"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-4978","license":"OSV · upstream source license applies","key":"osv:GO-2026-4978","identifiers":["GO-2026-4978","BIT-golang-2026-39819","CVE-2026-39819"]},"retained":false,"historicalAffected":[]}],"coverage":[]}