Quick answers
- Is CVE-2026-97037 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-97037 being exploited in the wild.
- How severe is CVE-2026-97037?
- Informational severity, published 11 November 2026.
- Which products and versions are affected?
- toolchain (Go) SEMVER:introduced=0,fixed=1.26.11,introduced=1.27.0-0,fixed=1.27.4.
- Is there a fix for CVE-2026-97037?
- Yes. toolchain (Go): upgrade to 1.27.4 or later. Until then: The go command now requires a "-Wl," prefix on the second token of split "-Wl," flags (except "-Wl,-R"), verifies that these flags do not reference linker script files, and disallows bare "-Wl,--warn-backrefs-exclude". Upgrade to a patched version of Go that includes these validation checks. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-97037 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-97037?
- Check whether you run go (Go) or toolchain (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- toolchain (Go): upgrade to 1.27.4 or later
go get toolchain@v1.27.4
The go command now requires a "-Wl," prefix on the second token of split "-Wl," flags (except "-Wl,-R"), verifies that these flags do not reference linker script files, and disallows bare "-Wl,--warn-backrefs-exclude". Upgrade to a patched version of Go that includes these validation checks.
Technical details
The vulnerability exists in Go's cgo support where split "-Wl," linker flags (such as "-Wl,-rpath", "-Wl,--just-symbols", "-Wl,-undefined") previously accepted a bare second argument without "-Wl," prefix, which the linker would interpret as a positional input file. Additionally, various flags like "-framework" and "-Wl,-R" could cause GNU ld.bfd to misinterpret their arguments as linker script files. An attacker can craft a malicious package with specially constructed "#cgo LDFLAGS" to pass linker script files to the host linker, achieving arbitrary code execution at link time.
Affected products
- Go Go
Identifiers
- CVE-2026-97037
- GO-2026-6854
Timeline
- 2026-11-11: disclosed