Quick answers
- Is CVE-2026-97042 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-97042 being exploited in the wild.
- How severe is CVE-2026-97042?
- 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; Google Go Prior to fix version.
- Is there a fix for CVE-2026-97042?
- Yes. toolchain (Go): upgrade to 1.27.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-97042 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-97042?
- Check whether you run toolchain (Go) or Google 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
Technical details
The vulnerability exists in Go's compiler (cmd/cgo and cmd/link) which failed to validate library names in "//go:cgo_import_dynamic" directives and DLL names extracted from PE object files on Windows. An attacker can craft a malicious Go package or PE object with library names containing ".." path traversal sequences, special characters, or path separators to cause the linker to reference arbitrary files. The fix validates every character of library names, rejecting ".." traversal, path separators, colons, and leading "-" or "@" characters.
Affected products
- Google Go Prior to fix version
Identifiers
- CVE-2026-97042
- GO-2026-6849
Timeline
- 2026-11-11: disclosed