What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Go 1.25.9, 1.26.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-27140 or the next vulnerability affects your stack