CVE-2026-39817
Invoking "go tool pack" does not sanitize output paths in cmd/go
02 Description
Invoking "go tool pack" does not sanitize output paths in cmd/go
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.17% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 6.3% of scored records. A rank, not a probability.
- NVD base score
- 5.9 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-05-07 19:41Z5 MO AGO
- Last updated
- 2026-05-08 21:29Z5 MO AGO
- Reserved
- 2026-04-07
- Assigning CNA
- Go
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.9)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
- Weaknesses
- Data version
- 5.2
- Document digest
- efc1a7292e25596e076f591607118cf28d9a54f06402e2f85c64681ba0bf259e
05 Affected products
06 References
- go.devhttps://go.dev/issue/78778
- go.devhttps://go.dev/cl/767520
- groups.google.comhttps://groups.google.com/g/golang-announce/c/qcCIEXso47M
- pkg.go.devhttps://pkg.go.dev/vuln/GO-2026-4979
07 Fixed in
AlmaLinux 8
- delve Fixed in 1.25.2-1.module_el8.10.0+4074+24330916
- go-toolset Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-bin Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-docs Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-misc Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-race Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-src Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-tests Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- go-toolset Fixed in 1.26.3-1.el9_8
- golang Fixed in 1.26.3-1.el9_8
- golang-bin Fixed in 1.26.3-1.el9_8
- golang-docs Fixed in 1.26.3-1.el9_8
- golang-misc Fixed in 1.26.3-1.el9_8
- golang-race Fixed in 1.26.3-1.el9_8
- golang-src Fixed in 1.26.3-1.el9_8
- golang-tests Fixed in 1.26.3-1.el9_8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- delve Fixed in 1.25.2-1.module_el8.10.0+4074+24330916
- go-toolset Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-bin Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-docs Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-misc Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-race Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-src Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
- golang-tests Fixed in 1.25.10-1.module_el8.10.0+4187+c45165c4
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- go-toolset Fixed in 1.26.3-1.el9_8
- golang Fixed in 1.26.3-1.el9_8
- golang-bin Fixed in 1.26.3-1.el9_8
- golang-docs Fixed in 1.26.3-1.el9_8
- golang-misc Fixed in 1.26.3-1.el9_8
- golang-race Fixed in 1.26.3-1.el9_8
- golang-src Fixed in 1.26.3-1.el9_8
- golang-tests Fixed in 1.26.3-1.el9_8
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- golang-1.19 No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- golang-1.24 No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- golang-1.26 Fixed in 1.26.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- golang-1.10 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- golang-1.10 No fix yet
- golang-1.6 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- golang-1.10 No fix yet
- golang-1.8 No fix yet
- golang-1.9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- golang-1.13 No fix yet
- golang-1.14 No fix yet
- golang-1.18 No fix yet
- golang-1.20 No fix yet
- golang-1.21 No fix yet
- golang-1.22 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- golang-1.17 No fix yet
- golang-1.18 No fix yet
- golang-1.20 No fix yet
- golang-1.21 No fix yet
- golang-1.22 No fix yet
- golang-1.23 No fix yet
- golang-1.24 No fix yet
- golang-1.25 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- golang-1.21 No fix yet
- golang-1.22 No fix yet
- golang-1.23 No fix yet
- golang-1.24 No fix yet
- golang-1.25 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- golang-1.23 No fix yet
- golang-1.24 No fix yet
- golang-1.25 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- golang-1.23 No fix yet
- golang-1.24 No fix yet
- golang-1.25 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- golang-1.13 No fix yet
- golang-1.18 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- golang-1.13 No fix yet
- golang-1.16 No fix yet
- golang-1.18 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- golang-1.16 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- golang-1.13 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.