CVE-2026-97040
CVE
Medium
False Positivecmd/link: cgo Directive Injection via .syso Files Disguised as Go Objects
This advisory does not affect KrakenD
This is a build-time vulnerability in the Go toolchain (
cmd/go 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/go, cmd/link)
Disclosed
Nov 12, 2026
Description
The linker parsed a
.syso file starting with a Go object header as a Go compiler
object, so cgo metadata directives embedded in it, such as cgo_ldflag, reached the
external linker without validation. A malicious package could use this to inject
arbitrary linker flags at build time. This is a build-time issue in the Go toolchain and
does not affect KrakenD.