{"id":"EUVD-2026-123106","enisaUuid":"b54399ca-cd3c-36b8-9603-a418da84eff5","description":"Building a malicious package that uses \"#cgo pkg-config:\" directives could load untrusted pkg-config \".pc\" files or inject unvalidated compiler and linker flags. The pkg-config flag allowlist previously permitted \"--with-path\u003d\" and \"--personality\u003d\", allowed \"--define-variable\u003d\" values beginning with \"\u003d\" or \"$\" (which can rewrite paths in system \".pc\" files into sysroot-prefixed \"-L\u003d\" or \"-L$SYSROOT\" linker search paths), and allowed package arguments ending in \".pc\" or containing path separators or \"..\", which caused pkg-config to load local \".pc\" files directly from the package directory. In addition, flags returned by \"pkg-config --cflags\" in cgoCPPFLAGS were not checked when determining whether internal linking is safe. The go command now disallows \"--with-path\u003d\", \"--personality\u003d\", leading \"\u003d\" or \"$\" characters in \"--define-variable\u003d\" values, and local \".pc\" paths in \"#cgo pkg-config:\" directives, and inspects cgoCPPFLAGS when checking internal linking compatibility.","datePublished":"Nov 11, 2026, 3:13:15 AM","dateUpdated":"Nov 11, 2026, 3:13:15 AM","baseScore":0.0,"references":"https://go.dev/cl/862152\nhttps://go.dev/issue/82571\nhttps://groups.google.com/g/golang-announce/c/iY8TY0wWgbM\nhttps://pkg.go.dev/vuln/GO-2026-6852\n","aliases":"CVE-2026-97039\nGHSA-4x3g-87c5-vq62\n","assigner":"Go","epss":0.23,"enisaIdProduct":[{"id":"437fb750-63d6-3ece-9768-9085a32a39cd","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"0 \u003c1.26.11"},{"id":"5412440a-b5e4-3344-b97e-1eb3eeae3379","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"1.27.0-0 \u003c1.27.4"}],"enisaIdVendor":[{"id":"2aca90c4-436e-326c-af1f-5e5d8ddd2883","vendor":{"name":"Go toolchain"}}],"enisaIdVulnerability":[{"id":"76ef8bdb-744c-357d-9402-71acf457013c","vulnerability":{"id":"GHSA-4x3g-87c5-vq62","description":"Building a malicious package that uses \"#cgo pkg-config:\" directives could load untrusted pkg-config \".pc\" files or inject unvalidated compiler and linker flags. The pkg-config flag allowlist previously permitted \"--with-path\u003d\" and \"--personality\u003d\", allowed \"--define-variable\u003d\" values beginning with \"\u003d\" or \"$\" (which can rewrite paths in system \".pc\" files into sysroot-prefixed \"-L\u003d\" or \"-L$SYSROOT\" linker search paths), and allowed package arguments ending in \".pc\" or containing path separators or \"..\", which caused pkg-config to load local \".pc\" files directly from the package directory. In addition, flags returned by \"pkg-config --cflags\" in cgoCPPFLAGS were not checked when determining whether internal linking is safe. The go command now disallows \"--with-path\u003d\", \"--personality\u003d\", leading \"\u003d\" or \"$\" characters in \"--define-variable\u003d\" values, and local \".pc\" paths in \"#cgo pkg-config:\" directives, and inspects cgoCPPFLAGS when checking internal linking compatibility.","datePublished":"Nov 11, 2026, 6:32:38 AM","dateUpdated":"Nov 11, 2026, 6:32:38 AM","baseScore":0.0,"references":"https://nvd.nist.gov/vuln/detail/CVE-2026-97039\nhttps://go.dev/cl/862152\nhttps://go.dev/issue/82571\nhttps://groups.google.com/g/golang-announce/c/iY8TY0wWgbM\nhttps://pkg.go.dev/vuln/GO-2026-6852\n","enisa_id":"EUVD-2026-123106\n","aliases":"CVE-2026-97039\nGHSA-4x3g-87c5-vq62\n","epss":0.0,"dataProcessed":"Nov 13, 2026, 7:06:52 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"eb39c9e0-d0b9-3100-9abd-633aac0054dd","vulnerability":{"id":"CVE-2026-97039","description":"Building a malicious package that uses \"#cgo pkg-config:\" directives could load untrusted pkg-config \".pc\" files or inject unvalidated compiler and linker flags. The pkg-config flag allowlist previously permitted \"--with-path\u003d\" and \"--personality\u003d\", allowed \"--define-variable\u003d\" values beginning with \"\u003d\" or \"$\" (which can rewrite paths in system \".pc\" files into sysroot-prefixed \"-L\u003d\" or \"-L$SYSROOT\" linker search paths), and allowed package arguments ending in \".pc\" or containing path separators or \"..\", which caused pkg-config to load local \".pc\" files directly from the package directory. In addition, flags returned by \"pkg-config --cflags\" in cgoCPPFLAGS were not checked when determining whether internal linking is safe. The go command now disallows \"--with-path\u003d\", \"--personality\u003d\", leading \"\u003d\" or \"$\" characters in \"--define-variable\u003d\" values, and local \".pc\" paths in \"#cgo pkg-config:\" directives, and inspects cgoCPPFLAGS when checking internal linking compatibility.","datePublished":"Nov 11, 2026, 3:13:15 AM","dateUpdated":"Nov 11, 2026, 3:13:15 AM","status":"PUBLISHED","baseScore":0.0,"references":"https://go.dev/cl/862152\nhttps://go.dev/issue/82571\nhttps://groups.google.com/g/golang-announce/c/iY8TY0wWgbM\nhttps://pkg.go.dev/vuln/GO-2026-6852\n","enisa_id":"EUVD-2026-123106\n","assigner":"Go","epss":0.23,"dataProcessed":"Nov 13, 2026, 7:17:39 AM","vulnerabilityProduct":[{"id":"07fe57a6-cc4b-3cc9-b1b0-970c75a5374c","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"0 \u003c1.26.11"},{"id":"579b7c9d-0308-3733-9620-841e1ba0d080","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"1.27.0-0 \u003c1.27.4"}],"vulnerabilityVendor":[{"id":"cea1ffdd-ba8a-367f-b63b-f2c36c5f9071","vendor":{"name":"Go toolchain"}}]}}],"enisaIdAdvisory":[{"id":"f2b7aab7-8024-3a15-9b03-ea0b6d24b395","advisory":{"id":"WID-SEC-W-2026-4370","description":"Golang Go: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff","summary":"Ein Angreifer kann mehrere Schwachstellen in Golang Go ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.","datePublished":"Nov 5, 2026, 11:00:00 PM","dateUpdated":"Nov 11, 2026, 11:00:00 PM","baseScore":0.0,"references":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-4370.json\nhttps://wid.cert-bund.de/portal/wid/securityadvisory?name\u003dWID-SEC-2026-4370\n","aliases":"CVE-2026-97033\nCVE-2026-97034\nCVE-2026-97035\nCVE-2026-97036\nCVE-2026-97037\nCVE-2026-97038\nCVE-2026-97039\nCVE-2026-97040\nCVE-2026-97041\nCVE-2026-97042\nCVE-2026-97043\nCVE-2026-97054\n","source":{"id":8,"name":"csaf_certbund"},"advisoryProduct":[{"id":"1f95ad29-ebff-3708-8199-40f225820396","product":{"name":"1.26.11","vendor":{"name":"golang"}}},{"id":"7ae760bd-08c1-36b8-9282-2f953a1f653c","product":{"name":"1.27.4","vendor":{"name":"golang"}}},{"id":"a1aa1554-5247-36e8-96f9-60e5ebf2e240","product":{"name":"Red Hat Enterprise Linux","vendor":{"name":"Red Hat"}}},{"id":"a592630b-86d8-3b96-a76d-07c646f89bfe","product":{"name":"Go","vendor":{"name":"ecies"}}}]}}]}