CVE-2026-27140

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductGo
PublishedApr 8, 2026
First seenApr 8, 2026
Weakness typeCWE-501CWE-501

How to fix

Affected products

ProductAffected versionsFixed in
golang gov < 1.25.9, 1.26.0 ≤ v < 1.26.21.25.9, 1.26.2
toolchainGov < 1.25.9, 1.26.0-0 ≤ v < 1.26.21.25.9, 1.26.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.