GHSA-537w-q924-jhpm
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious Go package with crafted cgo directives
-
DeliveryVictim imports and builds package on ELF platform
-
ExploitComma/@ splits -Wl linker arguments
-
ExecutionInject arbitrary host-linker flags or response file
-
ImpactArbitrary code execution in build environment
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires that a victim build (compile and externally link) an attacker-controlled Go package on an ELF platform; the hostile input is |
| Impact | This is a CWE-88 argument/flag-injection flaw in the Go toolchain (cmd/compile and cmd/link): a malicious package using |
| Exploit ScenarioDerived | An attacker publishes or contributes a Go module whose source contains crafted |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 16, 2026
Go's compiler and linker (cmd/compile and cmd/link) fail to reject commas and leading '@' characters in //go:cgo_import_dynamic, //go:cgo_export_dynamic, //go:cgo_export_static, //go:cgo_import_static and //go:cgo_dynamic_linker directives, so a malicious Go package can split the linker's '-Wl,--dynamic-linker,<path>' and '-Wl,--export-dynamic-symbol=' arguments into arbitrary host-linker flags or response-file arguments on ELF platforms. Triggering it requires a developer or CI pipeline to compile and externally link attacker-controlled source, which is why the vector carries UI:R even though no authentication is needed against the victim (CVSS 8.8, CWE-88). Fixes ship in Go 1.26.11 and 1.27.4, and the flaw is not listed in CISA KEV; EPSS is 0.23% (14th percentile) and no public exploit code has been identified at time of analysis.
Earlier versions of this analysis (1)
The Go team has pre-announced that CVE-2026-97041 will be fixed in Go 1.27.4 and Go 1.26.11, as one of twelve CVEs bundled into those two releases. The pre-announcement, posted to the oss-security mailing list, deliberately withholds the affected package, component, and vulnerability class until the release notes and official vulnerability report are published, so the impact of this specific CVE cannot yet be stated. No CVSS vector, CWE, CPE, EPSS score, or KEV entry accompanies the record, exploitation status is unconfirmed, and no public exploit has been identified at time of analysis. The current priority decision is awaiting_data.
RemediationAI
Vendor-released patch: upgrade to Go 1.26.11 or Go 1.27.4 (or later) matching your release branch, then rebuild affected binaries with the fixed toolchain, since the correction lives in the compiler and linker used at build time rather than in any runtime component. Details are in the Go vulnerability entry https://pkg.go.dev/vuln/GO-2026-6850, the tracking issue https://go.dev/issue/82569, the change https://go.dev/cl/862154, and the announcement https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM. Because exploitation requires the victim to compile and externally link hostile source, the practical compensating control is to avoid building untrusted Go packages and to restrict which repositories and modules CI runners will fetch and compile before a toolchain upgrade lands; the trade-off is reduced build flexibility for third-party or contributed code, and it does not remove the underlying argument-injection flaw. Note that builds using internal linking or non-ELF targets do not match the described attack surface, but upgrading remains the recommended complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected technology is the Go build toolchain rather than a runtime service. Go source can carry //go:cgo_* pragma-style compiler directives that the compiler turns into cgo metadata and that cmd/link consumes when performing external linking. On ELF targets the linker invoked the host linker with a comma-separated form, '-Wl,--dynamic-linker,<path>', and used '-Wl,--export-dynamic-symbol=' for exported symbols; because commas and a leading '@' were permitted inside symbol names and dynamic-linker paths, a crafted directive could terminate one flag and start another, injecting arbitrary host-linker flags or response-file (@file) arguments. A second defect allowed the two-argument form of //go:cgo_import_dynamic, which is legal in non-cgo Go files, to overwrite the external symbol name of a symbol already marked for cgo export. The root cause is CWE-88 (improper neutralization of argument delimiters in a command), i.e. argument/flag injection at the point where the Go linker constructs the external linker command line. The corrected behavior rejects commas in //go:cgo_* symbol and dynamic-linker directives, emits '-Wl,--dynamic-linker=<path>', and prevents cgo_import_dynamic from overwriting symbols exported via cgo_export_dynamic or cgo_export_static. Scope is limited to build-time external linking on ELF platforms; the trigger preconditions beyond what is described here are not detailed in the available sources.
Know when Golang gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Malicious package is network-delivered (AV:N) but only triggers when the victim builds it (UI:R); successful linker-flag injection yields full build-host code execution, so C/I/A:H with unchanged scope.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Executive ViewAI
CVE-2026-97041 is a high-severity flaw in the Go compiler and linker that could allow a malicious Go package to inject arbitrary flags into the host linker, potentially compromising systems when developers or CI pipelines compile and link untrusted source. This puts build pipelines and developer environments at risk, and while no active exploitation has been observed, the availability of a patch means organizations should prioritize updating their Go toolchains to prevent potential supply chain attacks.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and there
Erugo file-sharing platform up to version 0.2.14 has a CVSS 10.0 path traversal allowing authenticated users to read any
Critical certificate validation bypass in Go crypto/tls during session resumption. If ClientCAs or RootCAs fields are mu
WAGO PFC200 G2 PLC (firmware affected) allows privilege escalation through cookie manipulation. Users can modify cookie
Authentication bypass in WeGIA charitable institution management system before 3.6.5. The adicionar_tipo_docs_atendido.p
CGI path splitting vulnerability in FrankenPHP before 1.11.2 — Unicode characters bypass path validation during CGI proc
net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization by
Free5gc NRF 1.4.0 has an authorization bypass in access token generation that allows authenticated users to request toke
Algo 8028 Control Panel version 3.3.3 contains a command injection vulnerability in the fm-data.lua endpoint that allows
Denial of service in PocketBase versions prior to 0.22.48 (0.22.x branch) and 0.23.0 through 0.39.6 (0.23.0+ branch) all
EUVD-2026-123104
NVD
CVE.org
EPSS
VulDB
Exploit-DB