CVE-2026-97035Go 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
When using Clang or GCC, building a malicious package that uses cgo could cause unexpected code execution at build time or write files to arbitrary directories via "-gen-*" or "-gnat*" flags in "#cgo" directives. The "-g*" wildcard in the compiler and linker flag allowlists previously matched Clang's two-argument "-gen-cdb-fragment-path <dir>" flag and GCC's two-argument "-gnatO <file>" flag, permitting compilation database fragments and sidecar output files to be written to arbitrary directories and desynchronizing flag argument parsing between the go command and the compiler driver so that subsequent arguments could be passed as unvalidated positional inputs to the linker. "-gen-*" and "-gnat*" flags are now disallowed in "#cgo" compiler and linker flags.
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-6856). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- Go toolchain · cmd/go
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 (+3), 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.