PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-97033 Go toolchain CVE debrief

CVE-2026-97033 debrief: The Go toolchain's cmd/go is vulnerable to unexpected code execution via specific cgo flags, including --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x. These flags can be used to execute arbitrary code at build time, potentially leading to a supply chain attack. Go developers and administrators should assess their exposure and take necessary actions to mitigate the vulnerability, including reviewing and updating the Go toolchain to version 1.26.11 or later, and restricting usage of these cgo flags.

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

Go developers and administrators who use the cmd/go tool should assess their exposure and take necessary actions to mitigate the vulnerability. This includes reviewing and updating the Go toolchain to version 1.26.11 or later, and restricting usage of --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags. Additionally, they should monitor for suspicious activity in Go build processes and implement compensating controls for exposed systems while

Why it matters

CVE-2026-97033 is a high-severity vulnerability in the Go toolchain's cmd/go tool that allows for unexpected code execution via specific cgo flags. Go developers and administrators should assess their exposure and take necessary actions to mitigate the vulnerability.

  • Potential code execution at build time
  • Increased risk of supply chain attacks
  • Need for restricted usage of cgo flags
  • Verification of Go toolchain versions and updates

Technical summary

The Go toolchain's cmd/go is vulnerable to unexpected code execution via specific cgo flags, including --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x. These flags can be used to execute arbitrary code at build time, potentially leading to a supply chain attack. The vulnerability is caused by the fact that these flags can be used to relocate compiler subprograms, spec files, and CRT startup objects to an attacker-controlled directory, or to execute target helper tools from the current working directory when not found in PATH.

Defensive priority

High priority for Go developers and administrators

Recommended defensive actions

  • Review and update Go toolchain to version 1.26.11 or later
  • Review and update Go toolchain to version 1.27.4 or later
  • Restrict usage of --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags
  • Monitor for suspicious activity in Go build processes
  • Perform a thorough review of the Go toolchain's configuration and usage
  • Implement compensating controls for exposed systems while remediation is scheduled and verified
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

Official CVE Program record and NVD vulnerability detail page provide information on the vulnerability. Source references include Go toolchain issue and advisory links. The vulnerability has been assessed as high-severity and requires immediate attention from Go developers and administrators. The CVE record was published on 2026-11-11T03:13:17.601Z and has not been modified since then.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-97033 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-97033

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-97033 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-97033

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

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.