CVE-2026-97041 explained

Building a malicious package containing "//go:cgo_*" compiler directives could inject arbitrary flags into the external linker invocation on ELF platforms. The compiler and linker did not reject commas in "//go:cgo_import_dynamic", "//go:cgo_export_dynamic", "//go:cgo_export_static".

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 containing "//go:cgo_*" compiler directives could inject arbitrary flags into the external linker invocation on ELF platforms. The compiler and linker did not reject commas in "//go:cgo_import_dynamic", "//go:cgo_export_dynamic", "//go:cgo_export_static", "//go:cgo_import_static", and "//go:cgo_dynamic_linker" directives, and the linker passed the dynamic linker path using "-Wl,--dynamic-linker,<path>". Furthermore, the two-argument form of "//go:cgo_import_dynamic" (which is permitted in non-cgo Go source files) could overwrite the external symbol name of a symbol already marked for cgo export. A symbol name or dynamic linker path containing a comma or leading "@" could split "-Wl,--export-dynamic-symbol=" or "-Wl,--dynamic-linker," into arbitrary host linker flags or response file arguments. The compiler and linker now reject commas in "//go:cgo_*" symbol and dynamic linker directives, the linker passes "-Wl,--dynamic-linker=<path>", and "cgo_import_dynamic" no longer overwrites symbols exported via "cgo_export_dynamic" or "cgo_export_static".

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 41% 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-97041?

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

Is CVE-2026-97041 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?
.