Back to CVE records
High 8.8Published Apr 7, 2026

CVE-2026-27140Code execution vulnerability in SWIG code generation in cmd/go

Updated under an hour ago ()

Does this affect you?

It affects Go toolchain cmd/go and 12 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
8.8 HIGH (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-501, CWE-641
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Go
NVD analysis
Modified
Record last updated
Sep 10, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Go toolchain cmd/go
go_toolchain:cmd_go (from the name)
before 1.25.9; from 1.26.0-0 before 1.26.2
CNA record
from 0:1.25.9-3.el10_1 not affected
CISA ADP
from 0:1.25.9-1.el10_0 not affected
CISA ADP
from 8040020260505161557.5081a262 not affected
CISA ADP
from 8040020260505161557.5081a262 not affected
CISA ADP
from 8060020260505152018.97d7f71f not affected
CISA ADP
from 8060020260505152018.97d7f71f not affected
CISA ADP
from 0:1.21.13-16.el9_4 not affected
CISA ADP
from 1786788012 not affected
CISA ADP
2
CISA ADP
1
CISA ADP
Red Hat Red Hat OpenShift Virtualization 4
redhat:container_native_virtualization
4
CISA ADP
golang go
golang:go
before 1.25.9; from 1.26.0 before 1.26.2
NVD

References

  • release-notes
  • issue-tracking
  • mailing-list, release-notes
  • vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.