CVE-2026-97043Go toolchain cmd/go
Alta 8.8 Sin autenticación
Seguir: esta CVE · Go toolchain · Go toolchain cmd/go Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 68
- CVSS 3.1
- 8.8
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 11 nov 2026
- Actualizada
- 17 nov 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-88
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Qué pasa
Building a malicious package that uses cgo could bypass "#cgo LDFLAGS" validation and cause unexpected code execution at build time, or cause the go command to panic, via crafted quoting in "//go:cgo_ldflag" directives. When "cmd/cgo" generates "_cgo_gotypes.go", it quotes each "#cgo LDFLAGS" argument with strconv.Quote in a "//go:cgo_ldflag" directive, but "cmd/compile" and "cmd/go" parsed those directives by splitting on raw quote characters without handling backslash escapes or unquoting the string. This mismatch allowed disallowed linker flags or unvalidated linker search paths to be smuggled past the go command's flag checks and passed to the external linker. In addition, deduplicating LDFLAGS in the go command could panic with an out-of-bounds slice index when a prefix of the flag list matched near the end of the slice. "cmd/compile" and "cmd/go" now properly handle backslash-escaped quotes and unquote "//go:cgo_*" pragma strings with strconv.Unquote, and the slice bounds check in processCgoOutputs has been fixed.
Qué hacer
- Aplica la actualización de seguridad del fabricante para cmd/go.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | toolchain |
< 1.26.11 |
1.26.11 |
go get toolchain@v1.26.11 |
| Go | toolchain |
≥ 1.27.0-0 < 1.27.4 |
1.27.4 |
go get toolchain@v1.27.4 |
Según OSV / GitHub Advisories (GO-2026-6848). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- Go toolchain · cmd/go
- Go toolchain · cmd/compile
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update · Red Hat · RHSA-2026:102592 · 25 nov 2026 Media
- Red Hat Security Advisory: golang security, bug fix, and enhancement update · Red Hat · RHSA-2026:102586 · 25 nov 2026 Media
- Red Hat Security Advisory: golang security, bug fix, and enhancement update · Red Hat · RHSA-2026:102587 · 25 nov 2026 Media
- Security update for go1.26 · SUSE · SUSE-SU-2026:24892-1 · 19 nov 2026 Crítica
- Security update for go1.26 · SUSE · openSUSE-SU-2026:22386-1 · 19 nov 2026 Crítica
- Security update for go1.26 · SUSE · SUSE-SU-2026:24920-1 · 19 nov 2026 Crítica
Además: Red Hat (+2), SUSE (+11)
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.