{"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","titleSource":"OSV","descriptionSource":"OSV","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.","severity":"unknown","score":null,"published":"2026-05-07T19:21:40.000Z","modified":"2026-11-14T13:12:13.989Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Go","name":"toolchain","sources":[{"name":"OSV · GO-2026-4979","url":"https://osv.dev/vulnerability/GO-2026-4979"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.25.10"},{"introduced":"1.26.0-0"},{"fixed":"1.26.3"}],"type":"SEMVER"}],"versions":[],"fixed":["1.25.10","1.26.3"]}],"sourceAffected":[],"references":["https://go.dev/issue/78778","https://go.dev/cl/767520","https://groups.google.com/g/golang-announce/c/qcCIEXso47M"],"sources":[{"name":"OSV","id":"GO-2026-4979","modified":"2026-11-14T13:12:13.989385692Z","url":"https://osv.dev/vulnerability/GO-2026-4979"}],"assessments":[],"products":[],"remediation":[],"observedAt":"2026-11-14T15:23:09.842Z","kev":{"status":"not-listed","checkedAt":"2026-11-15T02:20:31.829Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-14T16:10:31.111Z","attemptedAt":"2026-11-14T16:10:31.111Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-14T16:05:35.389Z","attemptedAt":"2026-11-14T16:05:35.389Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-14T16:05:36.006Z","attemptedAt":"2026-11-14T16:05:36.006Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-14T16:05:35.060Z","attemptedAt":"2026-11-14T16:05:35.060Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-39817","url":"https://www.first.org/epss/","probability":0.0017,"percentile":0.06457,"date":"2026-11-14","checkedAt":"2026-11-14T16:05:35.060Z"},{"source":"GitHub Advisory Database","id":"GHSA-qc64-m6c2-v4x7","url":"https://github.com/advisories/GHSA-qc64-m6c2-v4x7","modified":"2026-11-12T00:32:51Z","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","checkedAt":"2026-11-14T16:05:35.389Z"},{"source":"ENISA EUVD","id":"EUVD-2026-28421","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-28421","modified":"May 8, 2026, 9:29:47 PM","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","checkedAt":"2026-11-14T16:05:36.006Z"},{"source":"NVD","id":"CVE-2026-39817","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39817","modified":"2026-11-11T23:10:00.263","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","checkedAt":"2026-11-14T16:10:31.111Z"},{"source":"NVD","id":"CVE-2026-39817","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39817","modified":"2026-11-11T23:10:00.263","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","checkedAt":"2026-11-14T16:10:31.111Z"}],"aiSummary":null}