Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-27140: CWE-501: Trust Boundary Violation in Go toolchain cmd/go

0
High
VulnerabilityCVE-2026-27140cvecve-2026-27140cwe-501
Published: Wed Apr 08 2026 (04/08/2026, 01:06:57 UTC)
Source: CVE Database V5
Vendor/Project: Go toolchain
Product: 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/15/2026, 12:09:12 UTC

Technical Analysis

This vulnerability in the Go toolchain's cmd/go arises from improper handling of SWIG file names containing 'cgo' and specially crafted payloads. This flaw allows an attacker to bypass trust boundaries, enabling code smuggling and arbitrary code execution at build time. The issue is classified under CWE-501 (Trust Boundary Violation) and affects versions up to 1.26.0-0. The CVSS v3.1 base score is 8.8, indicating high severity with network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability. As of the published date, no official fix or patch has been documented.

Potential Impact

Successful exploitation could allow an attacker to execute arbitrary code during the build process of Go applications, potentially compromising confidentiality, integrity, and availability of the affected system. Given the high CVSS score (8.8), the impact is significant, especially in environments where untrusted code or inputs are processed by the Go build toolchain. However, no known exploits have been reported in the wild so far.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when building code that involves SWIG files containing 'cgo' and avoid processing untrusted inputs in the build process. Monitor official Go project communications for updates on patches or mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-02-17T19:57:28.435Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69d5da2a43e2781badfbe636

Added to database: 4/8/2026, 4:31:38 AM

Last enriched: 4/15/2026, 12:09:12 PM

Last updated: 5/23/2026, 5:55:03 PM

Views: 69

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses