Skip to main content

Go Toolchain EUVDEUVD-2026-123107

| CVE-2026-97038 HIGH
Code Injection (CWE-94)
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
  2. Delivery
    Victim fetches and builds package
  3. Exploit
    Linker ingests crafted .syso/LDFLAGS/-L inputs
  4. Execution
    Inject linker flags or load LTO plugin
  5. Impact
    Execute arbitrary code at link time

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to build or compile an attacker-controlled Go package/module containing malicious linker inputs: a '.syso' file, direct object/library inputs in '#cgo LDFLAGS', or libraries placed in '-L' directories, which the go command passed to the external linker without validating format or checking for embedded options. The malicious input abuses GNU ld implicit linker scripts, '-l:<filename>' or path-separator '-l' values, PE/COFF '.drectve' sections (Windows), Mach-O 'LC_LINKER_OPTION' load commands (Darwin), or LTO IR sections (ELF/PE-COFF/Mach-O). Limiting factors: the flaw triggers only at build/link time, so the victim must obtain and compile untrusted code (UI:R) - it does not affect already-built deployed binaries; affected versions are the go command before 1.27.4 (1.27.x branch) and before 1.26.11. Updating to a fixed toolchain, which adds validation of these inputs, is the fix.

Impact

This is a code-execution flaw in the Go toolchain's handling of linker inputs (CWE-94), rated CVSS 8.8 with vector AV:N/AC:L/PR:N/UI:R - network-reachable via module distribution, low complexity, no privileges, but requiring user interaction (the victim must build the malicious package). The signals point to a developer/build-supply-chain risk rather than a remotely exploitable production service: real-world abuse requires a victim to fetch and compile attacker-controlled Go code, which is why UI:R is present. Exploitation signals are moderate and mutually consistent: EPSS is low at 0.25% (17th percentile), there is no CISA KEV listing, and no public exploit is identified in the input, indicating no evidence of active or imminent mass exploitation. However, the vuln.today priority is 'this_week' and a fixed toolchain is available, so this should be patched promptly even though EPSS/KEV do not indicate widespread exploitation. Note a data conflict: the input Tags label this 'Microsoft', but the affected product is the Go command (cmd/go, Google), a cross-platform toolchain - the Windows PE/COFF '.drectve' angle is only one of several affected platforms (also Darwin Mach-O and ELF/LTO).

Exploit ScenarioDerived

An attacker publishes or compromises a Go module containing a malicious '.syso' file or crafted '#cgo LDFLAGS'/'-L' inputs. When a developer or CI system runs 'go build'/'go install' on code that imports the package, the external linker processes the attacker-supplied inputs and either injects unallowlisted linker flags (via PE/COFF '.drectve', Mach-O 'LC_LINKER_OPTION', or GNU ld linker scripts) or loads an LTO plugin, resulting in arbitrary code execution on the build machine at link time. No public exploit is identified at time of analysis, and user interaction (building the package) is required.

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

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

Alert me

AnalysisAIv2 – Nov 16, 2026

Code execution at link time in the Go toolchain (cmd/go) lets a malicious package smuggle unvalidated linker inputs - ".syso" files, direct object or library inputs in "#cgo LDFLAGS", or libraries placed in "-L" directories - past the go command and into the external linker. The flaw affects cmd/go 1.27.x before 1.27.4 and 1.26.x before 1.26.11, is rated CVSS 8.8 (AV:N/AC:L/PR:N/UI:R) because the victim must build or compile the attacker's module, and does not affect binaries that are already built and deployed. No public exploit code has been identified at time of analysis (EPSS 0.25%, 17th percentile); a vendor patch is available and the priority is this week.

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

The Go programming language toolchain is affected by a security defect tracked as CVE-2026-97038, one of twelve CVEs named in the pre-announcement for the upcoming Go 1.27.4 and Go 1.26.11 security releases. The pre-announcement does not state which Go package or standard library component is affected, what triggering operation exposes a program, or what an attacker gains, so impact, prerequisites and the assessed severity remain undetermined; no CVSS vector, CWE mapping or CPE data accompanies the notice. No public exploit was identified at time of analysis, no CISA KEV listing or EPSS score is associated with the record, and the trigger is not described in the available sources, so risk cannot be meaningfully assessed until the full Go advisory is published with the releases.

RemediationAI

Vendor-released patch: upgrade the Go toolchain to 1.27.4 (1.27.x branch) or 1.26.11 (1.26.x branch), which adds validation of ".syso" files, direct linker inputs and libraries in "-L" directories and disallows "-l:<filename>" and ":", "=" or path separators in "-l" flags; the fix commit is referenced at https://go.dev/cl/862151 and the advisory at https://pkg.go.dev/vuln/GO-2026-6853. Updating the toolchain is the complete fix described by the vendor. Until the upgrade is rolled out across developer workstations and CI build images, the only meaningful reduction in exposure follows from the exploitation precondition: builds that never compile attacker-controlled Go packages are not triggered, so restrict build pipelines and module fetches to vetted, trusted module sources rather than untrusted or arbitrary third-party modules - note this is a stopgap that leaves the underlying validation gap in place and does not substitute for the patched toolchain.

Affected VersionsENISA

cmd/go 1.27.0-0 <1.27.4
cmd/go 0 <1.26.11

Affected Packages

go toolchain fix: 1.26.11, 1.27.4
euvd cmd_go fix: 1.26.11, 1.27.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 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 root cause is CWE-94 code injection into the build pipeline: the go command handed linker inputs to the external system linker without validating their format or screening for embedded linker options. Because GNU ld interprets its own implicit linker scripts, and because PE/COFF objects can carry ".drectve" sections, Mach-O objects can carry "LC_LINKER_OPTION" load commands, and ELF/PE-COFF/Mach-O objects can carry LTO intermediate-representation sections, an attacker-supplied "library" or ".syso" file could inject flags the toolchain never allowlisted, invoke GCC or LLVM LTO plugins, or be reached through "-l:<filename>" and "-l" values containing ":", "=" or path separators. The fixed go command verifies that ".syso" files, direct linker inputs and libraries in "-L" directories are valid binary objects or archives free of unallowlisted ".drectve" directives, "LC_LINKER_OPTION" load commands and LTO IR sections, and rejects "-l:<filename>" plus ":", "=" and path separators in "-l" flags. The trigger occurs only at build/link time on the developer or CI host; the issue is a toolchain input-validation gap rather than a flaw in compiled output.

Know when Go 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-distributed (AV:N) and reliably triggers at link time (AC:L/PR:N), but the victim must build it (UI:R); link-time code execution yields full C:H/I:H/A:H on the build host.

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 - 15:39 vuln.today
v2 - CVSS changed
CVSS changed
Nov 16, 2026 - 15: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-97038 is a high-severity vulnerability in the Go toolchain that allows a malicious software package to execute arbitrary code on a developer's machine when that package is compiled. Organizations developing or building Go-based applications are at risk, as a single compromised or untrusted dependency could lead to unauthorized access to build environments and source code.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
High
Go toolchain used by essentially all Go developers and CI build systems
Data Quality
4 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.3%
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

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Go

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-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-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-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-2026-90942 CRITICAL POC
9.3 Sep 14

Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and

CVE-2026-101090 CRITICAL POC
9.3 Sep 27

Host header injection in Nezha 2.2.3's OAuth2 redirect endpoint (/api/v1/oauth2/{provider}) allows an unauthenticated re

CVE-2026-78428 HIGH POC
8.8 Sep 17

Session cross-wiring in SUSE NeuVector before 5.6.1 allows an unauthenticated remote attacker to obtain another user's a

CVE-2026-92791 HIGH POC
8.7 Sep 16

Unauthenticated path traversal in Uber Kraken through 0.1.29 allows remote attackers to read files outside the configure

CVE-2018-7187 HIGH POC
8.8 Feb 16

The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import pa

CVE-2026-16651 HIGH POC
8.7 Sep 21

Denial of service in Temporal Server allows an authenticated caller holding at least namespace read permission to crash

CVE-2026-82405 HIGH POC
8.7 Sep 23

Account takeover in Klever-Go's KleverUpdateAccountPermission built-in (all versions prior to 1.7.20) allows an attacker

CVE-2026-82409 HIGH POC
8.4 Sep 23

Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r

Vendor StatusVendor

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