PatchSiren cyber security CVE debrief
CVE-2026-97038 Go toolchain CVE debrief
The Go toolchain's cmd/go component is vulnerable to arbitrary code execution via crafted .syso files and cgo linker input files. This issue allows attackers to inject arbitrary linker flags or execute arbitrary code at link time by building a malicious package containing .syso files or cgo linker inputs. The vulnerability arises from inadequate validation of linker input files, which can be exploited across platforms. Defenders should assess exposure, particularly in build environments, and prioritize remediation steps.
- Vendor
- Go toolchain
- Product
- cmd/go
- CVSS
- HIGH 8.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-11
- Original CVE updated
- 2026-11-17
- Advisory published
- 2026-11-11
- Advisory updated
- 2026-11-17
Who should care
Developers and administrators using the Go toolchain, particularly those building packages with .syso files or cgo linker inputs, should assess their exposure and take necessary remediation steps.
Why it matters
CVE-2026-97038 allows attackers to execute arbitrary code or inject malicious linker flags via crafted .syso files or cgo linker inputs in the Go toolchain's cmd/go component. Defenders should verify exposure, especially in build environments, and prioritize remediation by updating to secure versions or implementing compensating controls.
- Potential code injection and execution
- Elevation of privileges through linker flag manipulation
- Compromise of build environments and dependencies
- Need for verification of .syso file and cgo linker input integrity
Technical summary
The vulnerability exists in the cmd/go component of the Go toolchain, allowing attackers to execute arbitrary code or inject linker flags via crafted .syso files or cgo linker inputs. The issue arises from the lack of validation and checking of linker input files, which can be exploited to execute GNU ld implicit linker scripts, inject unallowlisted linker flags, or invoke LTO plugins. This vulnerability impacts build environments and dependencies, emphasizing the need for verification of .syso file and cgo linker input integrity.
Defensive priority
High
Recommended defensive actions
- Review and update Go toolchain versions to 1.26.11 or later, or 1.27.4 or later.
- Verify the integrity of .syso files and cgo linker inputs used in the build process.
- Implement additional security measures, such as code signing and verification, to prevent malicious code injection.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
Evidence notes
The CVE record and source item provide details on the vulnerability, including its description, affected versions, and references to official sources. The issue is grounded in the lack of validation for .syso files and cgo linker inputs, allowing for potential code injection. Defenders should verify exposure, especially in build environments, and prioritize remediation by updating to secure versions or implementing compensating controls. Evidence is limited to public CVE details and source item descriptions.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-97038 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-97038
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-97038 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-97038
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/go
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/97xxx/CVE-2026-97038.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://go.dev/cl/862151
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://go.dev/issue/82572
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://pkg.go.dev/vuln/GO-2026-6853
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.