Go toolchain · Go · published 2026-04-08

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

Routine No exploitation evidence; EPSS 0.6%.

CVE-2026-27140 is not known to be exploited in the wild. EPSS estimates a 0.6% chance of exploitation in the next 30 days, higher than 51% of all CVEs. This Go vulnerability: CVSS 8.8 (v3.1), a successful attack gives total control of the component. Fixed upstream in Go 1.26.2, 1.25.9. Routine: patch when convenient.

Share this

Remediation#

Fixed upstream in Go 1.26.2, 1.25.9.

Patch events

  1. This monthSecurity release

    Language runtimeGo

    Go security releases: 1.26.2, 1.25.9

    Upgrade to 1.26.21.25.9

    Why: Vendor security release for server software (most severe: CVE-2026-27143).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.6% (52th pct)FIRST EPSS v2026.06.15
CVSS base score8.8 (v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →