News KrakenD 3.0 Is Here: AI Router, Semantic Cache, and On-the-Fly Stream Manipulation News KrakenD CE 3.0.5, EE 3.0.5 and EE 2.13.15 Update Released News KrakenD Partners with AITERA Solutions to Connect Enterprise Services in Malaysia News KrakenD CE 3.0.4, EE 3.0.4 and EE 2.13.14 Update Released

CVE-2025-61731 CVE High · CVSS 7.5 False Positive

cmd/go: CgoPkgConfig Flag Bypass Leads to Arbitrary Code Execution

This advisory does not affect KrakenD

This is a build-time vulnerability in the Go build tool (cmd/go). KrakenD distributes pre-compiled binaries and does not invoke go build at runtime. End users running KrakenD as a gateway are not affected.

Addressed through routine dependency maintenance in CE 2.12.1 and EE 2.12.3.

Component

Go standard library (cmd/go)

Disclosed

Jan 16, 2026

CVSS Score

7.5

Description

Go’s build tool honours #cgo pkg-config: directives inside Go source files to pass flags to the underlying C compiler and linker. Insufficient sanitisation of these directives allows an attacker who can contribute Go source to a cgo-enabled project to inject arbitrary compiler or linker flags, potentially enabling arbitrary code execution during the build.

Stay up to date with KrakenD releases and important updates