Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Go toolchain cmd/go
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Google Go是美国谷歌(Google)公司的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。 Google Go存在安全漏洞,该漏洞源于带有 go 标识与精心构造的恶意载荷的 SWIG 文件名,可引发代码走私问题,同时会在构建阶段因信任层绕过,导致任意代码执行。

AI Predicted 9.8 Difficulty: Easy EPSS 0.66% · P50

Affected Version Matrix 2

VendorProduct Version RangeStatus
Go toolchain cmd/go < 1.25.9 affected
1.26.0-0< 1.26.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-27140

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Code execution vulnerability in SWIG code generation in cmd/go
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Google Go 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Google Go是美国谷歌(Google)公司的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。 Google Go存在安全漏洞,该漏洞源于带有 go 标识与精心构造的恶意载荷的 SWIG 文件名,可引发代码走私问题,同时会在构建阶段因信任层绕过,导致任意代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Go toolchain cmd/go 0 ~ 1.25.9 -

II. Public POCs for CVE-2026-27140

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-27140

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-27140 (1)

Same Patch Batch · Go toolchain · 2026-04-08 · 3 CVEs total

CVE-2026-27144 Miscompilation allows memory corruption via CONVNOP-wrapped array copy in cmd/compile
CVE-2026-27143 Missing bound checks can lead to memory corruption in safe Go in cmd/compile

IV. Related Vulnerabilities

V. Comments for CVE-2026-27140

No comments yet


Leave a comment