CVE-2026-97037 explained

Building a malicious package that uses cgo could cause arbitrary code execution at link time by passing linker script files to the host linker via "#cgo LDFLAGS". Split "-Wl," flags that consume a following argument (such as "-Wl,-rpath", "-Wl,--just-symbols".

high 8.8 / 10

Chance of being attacked in the next 30 days: 1%. Published 11 Nov 2026.

In plain English

Building a malicious package that uses cgo could cause arbitrary code execution at link time by passing linker script files to the host linker via "#cgo LDFLAGS". Split "-Wl," flags that consume a following argument (such as "-Wl,-rpath", "-Wl,--just-symbols", and "-Wl,-undefined") previously accepted a bare second argument without a "-Wl," prefix, which the compiler driver passes directly to the linker as a positional input file. Additionally, when using GNU ld.bfd, flags such as "-framework", "-Wl,-framework", "-Wl,-undefined", "-Wl,--just-symbols", "-Wl,-R", "-Wl,-subsystem", and (on non-Darwin platforms) "-Wl,-sectcreate" could cause ld.bfd to interpret their arguments as linker scripts if they named a regular file on disk. 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".

The plain-English version is written once the record settles.

The facts

Severity
high (CVSS 8.8)
Exploited
not in CISA's catalogue
Chance of attack, 30 days
1% (higher than 48% of all records)
Published
11 Nov 2026
Last changed
17 Nov 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Who is affected

The sources have not published affected products and versions yet.

What to do

  • Read the official record for the fixed version and update.
  • Plan the update within the week; back up first.
  • If someone else runs the software for you, send them this page.

Common questions

Am I affected by CVE-2026-97037?

The sources have not published which products and versions are affected yet. Check back, or read the official record.

Is CVE-2026-97037 being exploited?

No confirmed exploitation in CISA's catalogue. The chance of exploitation in the next 30 days is 1% (EPSS).

What should I do?

Read the vendor advisory for the fixed version and update. If someone else runs the software for you, send them this page.

Know when a vulnerability applies to your software

Declare what you run, or let the scan find it. We match every new record to your versions and say what to do.

Sources

We relay official sources and our own checks. What we can and cannot promise. Spotted a mistake?
.