ZeroDay Brief
CVE-2026-97038

Building a malicious package containing ".syso" files or cgo linker inputs could inject arbitrary linker flags or execute arbitrary code at link time.

CVSS
8.8High
Chance of exploitation (EPSS)
0.69%
Published
Nov 11, 2026
In the news
Not yet
More from this vendor

What to do

A serious code injection flaw in Go Toolchain Cmd Go that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 1.26.11, 1.27.4

Affected versions
Go Toolchain Cmd Go
Before 1.26.11; 1.27.0-0 to before 1.27.4

Description

Building a malicious package containing ".syso" files or cgo linker inputs could inject arbitrary linker flags or execute arbitrary code at link time. Linker input files—including ".syso" files, direct object or library inputs in "#cgo LDFLAGS", and libraries in "-L" directories—were passed to the external linker without validating their format or checking for embedded linker options. Across platforms, this allowed executing GNU ld implicit linker scripts disguised as libraries or ".syso" files (or loaded via "-l:<filename>" or "-l" containing path separators), injecting unallowlisted linker flags via PE/COFF ".drectve" sections on Windows or Mach-O "LC_LINKER_OPTION" load commands on Darwin, or invoking LTO plugins via GCC or LLVM LTO intermediate representation sections in ELF, PE/COFF, or Mach-O objects. The go command now verifies that ".syso" files, direct linker inputs, and libraries in "-L" directories are valid binary objects or archives that do not contain unallowlisted ".drectve" directives, "LC_LINKER_OPTION" load commands, or LTO IR sections, and disallows "-l:<filename>" and ":", "=", or path separators in "-l" flags.

CWE-94

Affected products

Get alerts for these →

Timeline 19

Latest change: Tenable Cloud Security plugin 484210: Google: dev-lang/go: security update to 19999.44.277 (Nov 26, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Wed, Nov 11, 2026

  1. CVECVE-2026-97038 published (CVSS 8.8)CVE Program · 05:19 UTC

References 4

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”