{"id":"GO-2026-4979","revision":"ae9759b3ca2e4412ba84c75a2fde4c3a","records":[{"revision":"ae9759b3ca2e4412ba84c75a2fde4c3a","observedAt":"2026-11-14T13:57:00.683+00:00","statement":{"source":"osv","id":"GO-2026-4979","aliases":["BIT-golang-2026-39817","CVE-2026-39817"],"title":"Invoking \"go tool pack\" does not sanitize output paths in cmd/go","description":"The \"go tool pack\" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the \"pack\" subcommand can write files to arbitrary locations on the filesystem.","state":0,"publishedAt":"2026-05-07T19:21:40+00:00","modifiedAt":"2026-11-14T13:12:13.9893857+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/78778","https://go.dev/cl/767520","https://groups.google.com/g/golang-announce/c/qcCIEXso47M"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-4979","license":"OSV · upstream source license applies","key":"osv:GO-2026-4979","identifiers":["GO-2026-4979","BIT-golang-2026-39817","CVE-2026-39817"]},"retained":false,"historicalAffected":[]}],"coverage":[]}