Skip to main content

Go Toolchain EUVDEUVD-2026-123103

| CVE-2026-97042 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
8.8
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Publish malicious Go module or crafted PE object
  2. Delivery
    Victim builds the untrusted package (go build/go get)
  3. Exploit
    Crafted cgo_import_dynamic or PE DLL name injects linker arguments
  4. Execution
    cmd/cgo/cmd/link emit unsafe '-l<name>' flag with '..'/special chars
  5. Persist
    External linker references arbitrary file on disk
  6. Impact
    Code execution / high-impact compromise at build time

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

Exploitation requires the victim to compile attacker-controlled code with the Go toolchain: either (a) building a package containing a malicious '//go:cgo_import_dynamic' directive whose library name the compiler validated only by its first character (and skipped entirely in cgo-generated files), or (b) on Windows specifically, linking against a crafted PE object file whose imported DLL name contains '..' path traversal, path separators, ':', or a leading '-'/'@', which cmd/cgo and cmd/link failed to validate before emitting '-l<name>' to the external linker. Cgo must be in play, and the PE/DLL-name path-traversal variant is limited to Windows. The key limiting factor is UI:R: the attack cannot fire against a running service - someone must actively build the hostile package, so environments that never compile untrusted third-party Go code are not exposed. Updating to Go 1.26.11 or 1.27.4 is the fix; the sources describe no configuration-based mitigation.

Impact

Signals diverge sharply. The input CVSS is 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), implying remote, unauthenticated, high-impact code execution - but exploitation is gated on the victim actively building an attacker-controlled Go package or linking a crafted PE object, which is a supply-chain/build-time precondition rather than a service-facing one. The real-world exploitation signals are all cool: EPSS is 0.23% (14th percentile), there is no CISA KEV listing, and no public exploit is identified in the provided data. The vuln.today Decision label is 'this_week', not act_now/emergency, which is consistent with a serious-but-not-under-active-exploitation toolchain flaw. CWE-88 (argument/parameter injection into the external linker) supports the HIGH technical-impact rating. Net: this is a genuine priority for anyone building untrusted Go code (especially on Windows CI runners), but the low EPSS and absence of KEV/POC indicate it is not an imminent mass-exploitation threat - treat it as scheduled toolchain patching, not incident response. Note the UI:R requirement means the headline 8.8 overstates exposure for environments that never compile third-party code.

Exploit ScenarioDerived

An attacker publishes a malicious Go module (or a package shipping a crafted PE object) and lures a developer or CI pipeline into building it. During compilation, the crafted //go:cgo_import_dynamic directive or the PE-extracted DLL name injects '-l<name>' arguments - including '..' path traversal or special characters - into the external linker, letting it reference arbitrary files on disk and leading to high-impact compromise at build time. No public exploit is identified at time of analysis; because exploitation requires the victim to build the hostile package (UI:R) and the attack is low-complexity (AC:L) once that occurs, the practical bar is social/supply-chain delivery rather than technical difficulty.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Nov 16, 2026

Malicious Go packages can smuggle unsafe library arguments into the external linker, letting a crafted '//go:cgo_import_dynamic' directive or a hand-built PE object file turn a build step into arbitrary file access on the host. Affected are the Go compiler, cgo and linker (cmd/compile, cmd/cgo, cmd/link) in releases before 1.26.11 and in the 1.27 line before 1.27.4; the DLL-name path-traversal variant is Windows-only. The CVSS 8.8 vector is AV:N/AC:L/PR:N/UI:R, meaning the attack is unauthenticated but cannot fire against a running service - a developer must actually compile the hostile package, so only environments that build untrusted third-party Go code are exposed. EPSS is low at 0.23% (14th percentile) and no public exploit has been identified at time of analysis, though the issue is tracked for remediation this week given the high confidentiality, integrity and availability impact on builder machines.

Earlier versions of this analysis (1)
v1 Nov 05, 2026 - 23:16

The Go toolchain carries an as-yet-undisclosed security defect tracked as CVE-2026-97042, one of twelve CVEs that the Go team pre-announced as being fixed in Go 1.27.4 and Go 1.26.11. The pre-announcement itself contains no description of the affected package, the triggering operation, the impact, or the prerequisites, so the scope is only implied to be code shipped with the Go standard library or runtime in releases prior to those two versions. There is no public exploit identified at time of analysis, no KEV listing, and no EPSS data; the vuln.today decision label is awaiting_data, meaning severity and urgency cannot be meaningfully quantified until the full Go security release notes are published.

RemediationAI

Vendor-released patches are available: upgrade to Go 1.26.11 or Go 1.27.4, which restore full character validation of library names in '//go:cgo_import_dynamic' directives (including cgo-generated files on Windows) and cause cmd/cgo and cmd/link to reject PE imported DLL names containing path separators, '..', ':', or a leading '-' or '@'. Rebuild with the patched toolchain rather than only updating source dependencies, since the defect lives in the compiler, cgo and linker themselves. The sources describe no configuration-based mitigation, so the complete fix is the toolchain update; as a compensating control where patching must be staged, avoid compiling untrusted third-party Go packages, particularly on Windows with cgo enabled, at the cost of blocking legitimate dependency builds. Track remediation through GO-2026-6849 (https://pkg.go.dev/vuln/GO-2026-6849), the upstream issue https://go.dev/issue/82568 and the golang-announce advisory at https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM, and treat builder and CI hosts that compile external Go code as the priority upgrade targets.

Affected VersionsENISA

cmd/link 0 <1.26.11
cmd/cgo 0 <1.26.11
cmd/link 1.27.0-0 <1.27.4
cmd/compile 0 <1.26.11
cmd/compile 1.27.0-0 <1.27.4
cmd/cgo 1.27.0-0 <1.27.4

Affected Packages

go toolchain fix: 1.26.11, 1.27.4
euvd cmd_cgo fix: 1.26.11, 1.27.4
euvd cmd_compile fix: 1.26.11, 1.27.4
euvd cmd_link fix: 1.26.11, 1.27.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 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 flaw is an argument-injection problem (CWE-88) in the Go build pipeline. The '//go:cgo_import_dynamic' directive lets a package name a library that the toolchain forwards to the external linker; the compiler previously validated only the first character of that library name and skipped validation entirely for cgo-generated files. Separately, on Windows, cmd/cgo and cmd/link extracted imported DLL names from PE object files and emitted them as '-l<name>' flags without validating the name, so a DLL name containing '..' path traversal, path separators, ':' or a leading '-' or '@' could reference arbitrary files on disk or be reinterpreted as a linker flag. The underlying trust boundary is that Go source and object files are treated as build inputs rather than untrusted content, yet Go modules and vendored third-party code are routinely fetched and compiled. The fix tightens both sides: every character of the library name in '//go:cgo_import_dynamic' directives is validated, including in cgo-generated files on Windows, '..' path traversal is rejected, and cmd/cgo and cmd/link now reject PE imported DLL names containing path separators, '..', ':', or a leading '-' or '@'. Note that the CVSS metrics describe severity only; the available sources do not detail further trigger mechanics beyond the directive and PE-object paths described above.

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

Vendor (CNA) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Malicious package is network-delivered (AV:N) and low-complexity once built (AC:L) with no attacker privileges (PR:N), but the victim must actively build it (UI:R); linker argument injection yields full build-host compromise (C/I/A:H).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 MEDIUM

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Nov 16, 2026 - 18:30 vuln.today
v2 - CVSS changed
CVSS changed
Nov 16, 2026 - 18:22 NVD
8.8 (HIGH)
Patch available
Nov 11, 2026 - 04:01 EUVD
CVE Published
Nov 05, 2026 - 22:29 oss-security
MEDIUM

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

CVE-2026-97042 (CVSS 8.8) affects the Go compiler, cgo, and linker in releases prior to 1.26.11 and 1.27.x prior to 1.27.4, enabling arbitrary file access on build machines when developers compile crafted third-party Go code. Only environments that build untrusted Go packages are exposed - i.e., developers and CI/CD build agents - while run-time production services are not directly affected. Leadership should care because a compromise of a build host can pivot into source, secrets, and release artifacts, with high confidentiality, integrity, and availability impact.

Business Impact: High
Compensating Controls

Vendor-released patch: Go 1.26.11 and Go 1.27.4

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
High
Go toolchain is widely deployed across developer workstations and CI/build pipelines
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Golang

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2016-5386 HIGH
8.1 Jul 19

The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and there

CVE-2026-24897 CRITICAL POC
10.0 Jan 28

Erugo file-sharing platform up to version 0.2.14 has a CVSS 10.0 path traversal allowing authenticated users to read any

CVE-2025-68121 CRITICAL POC
10.0 Feb 05

Critical certificate validation bypass in Go crypto/tls during session resumption. If ClientCAs or RootCAs fields are mu

CVE-2022-50926 CRITICAL POC
9.8 Jan 13

WAGO PFC200 G2 PLC (firmware affected) allows privilege escalation through cookie manipulation. Users can modify cookie

CVE-2026-28408 CRITICAL POC
9.8 Feb 27

Authentication bypass in WeGIA charitable institution management system before 3.6.5. The adicionar_tipo_docs_atendido.p

CVE-2026-24895 CRITICAL POC
9.8 Feb 12

CGI path splitting vulnerability in FrankenPHP before 1.11.2 — Unicode characters bypass path validation during CGI proc

CVE-2019-14809 CRITICAL POC
9.8 Aug 13

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

CVE-2025-66719 CRITICAL POC
9.1 Jan 23

Free5gc NRF 1.4.0 has an authorization bypass in access token generation that allows authenticated users to request toke

CVE-2022-50909 HIGH POC
8.8 Jan 13

Algo 8028 Control Panel version 3.3.3 contains a command injection vulnerability in the fm-data.lua endpoint that allows

CVE-2026-82410 HIGH POC
8.7 Sep 16

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

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy