{"schema_version":"1.9.0","id":"BIT-golang-2026-39817","published":"2026-05-11T05:44:28.560Z","modified":"2026-09-08T08:47:49.876059623Z","aliases":["CVE-2026-39817","GO-2026-4979"],"summary":"Invoking \"go tool pack\" does not sanitize output paths in cmd/go","details":"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.","affected":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.10"},{"introduced":"1.26.0-0"},{"fixed":"1.26.3"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2026-39817.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N"}]}],"references":[{"type":"FIX","url":"https://go.dev/cl/767520"},{"type":"REPORT","url":"https://go.dev/issue/78778"},{"type":"REPORT","url":"https://groups.google.com/g/golang-announce/c/qcCIEXso47M"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39817"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2026-4979"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"Medium"}}