CVE-2026-39817
published medium CVSS 3.1 · 5.9Invoking "go tool pack" does not sanitize output paths in cmd/go
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go toolchain | — | cmd/go0 to < 1.25.10 · 1.26.0-0 to < 1.26.3 · Other versions: unaffected | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3313 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1743 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | delve | Advisory build | 1.25.2-1.module_el8.10.0+4074+24330916 | ALSA-2026:22112 |
| Alpine Linux | edge | go | Fixed | 1.26.3-r0 | Package fix record |
| Oracle Linux | 10 | go-toolsetaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetaarch64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| AlmaLinux | 8 | go-toolset | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | golang | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-bin | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-docs | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-misc | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-race | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-src | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-tests | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 9 | go-toolset | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-bin | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-docs | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-misc | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-race | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-src | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-tests | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| Alpine Linux | edge | rclone | Fixed | 1.74.1-r0 | Package fix record |
| Alpine Linux | v3.23 | go | Fixed | 1.25.10-r0 | Package fix record |
| Alpine Linux | v3.24 | go | Fixed | 1.26.3-r0 | Package fix record |
| Alpine Linux | v3.24 | rclone | Fixed | 1.74.1-r0 | Package fix record |
| Oracle Linux | 10 | go-toolsetx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golangaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golangx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-binaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-binx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-docsaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-docsx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-miscaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-miscx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-raceaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-racex86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-srcaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-srcx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-testsaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-testsx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 8 | delveaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd | ELSA-2026-22112 |
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd | ELSA-2026-22112 |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-raceaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-racex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 9 | go-toolsetaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | go-toolsetx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golangaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golangx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-binaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-binx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-docsaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-docsx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-miscaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-miscx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-raceaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-racex86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-srcaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-srcx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-testsaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-testsx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetaarch64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetppc64le | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetppc64le | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsets390x | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsets390x | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetx86_64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetx86_64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golangaarch64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golangaarch64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golangppc64le | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golangppc64le | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golangs390x | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golangs390x | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golangsrc | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golangsrc | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golangx86_64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golangx86_64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binaarch64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binaarch64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binppc64le | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binppc64le | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golang-bins390x | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golang-bins390x | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binx86_64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binx86_64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golang-docsnoarch | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golang-docsnoarch | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Go toolchain | cmd/go | 0 to < 1.25.10 (affected · semver)1.26.0-0 to < 1.26.3 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4Provider assertions
2Go · cna
Invoking "go tool pack" does not sanitize output paths in cmd/go
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4fb4ff4e48373b3cc31e5d00338c989c04fec9fc9469691caae17fe470154a1c
- Ingested
- 23 Sep 2026, 09:12:25 UTC
- Source record
- Official CVE record