CVE-2026-97041
CVE
Medium
False Positivecmd/compile: Host Linker Flag Injection via //go:cgo Directives
This advisory does not affect KrakenD
This is a build-time vulnerability in the Go toolchain (
cmd/compile and cmd/link) that requires
compiling a malicious package. KrakenD distributes pre-compiled binaries and never
invokes the Go toolchain at runtime, so the gateway is not exposed. If you compile
KrakenD Enterprise plugins, build them with the krakend/builder-ee image of version
3.0.4 or 2.13.14, which ships the fixed toolchain.Addressed through routine dependency maintenance in CE 3.0.4 and EE 3.0.4, 2.13.14.
Component
Go toolchain (cmd/compile, cmd/link)
Disclosed
Nov 12, 2026
Description
The compiler and linker did not reject commas in
//go:cgo_* symbol and dynamic linker
directives. On ELF platforms, a malicious package could split the resulting -Wl, options
into arbitrary host linker flags, and overwrite the external name of an exported symbol.
This is a build-time issue in the Go toolchain and does not affect KrakenD.