Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2026-27140

Code execution vulnerability in SWIG code generation in cmd/go

Description

SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code execution at build time due to trust layer bypass.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go toolchain cmd/go

Default version status: unaffected

  • 0 to < 1.25.9affected
  • 1.26.0-0 to < 1.26.2affected

References