{"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 15, 2026, 7:06:20 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 15, 2026, 7:17:22 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":"3fb011b9-7646-38e4-acbb-23f4b350c0c9","advisory":{"id":"msrc_CVE-2026-97039","description":"Flag sanitization bypass via \"#cgo pkg-config:\" directives in cmd/go","datePublished":"Nov 13, 2026, 1:03:29 AM","dateUpdated":"Nov 13, 2026, 1:03:29 AM","baseScore":0.0,"references":"https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-97039.json\n","aliases":"CVE-2026-97039\n","source":{"id":20,"name":"csaf_microsoft"},"advisoryProduct":[{"id":"44423fbe-b23b-31e6-b310-6f983ac2e6d6","product":{"name":"python-tensorboard","vendor":{"name":"Microsoft"}}},{"id":"799503f7-7509-34b7-8260-ef54c91bb395","product":{"name":"GoLang","vendor":{"name":"Go Programming Language"}}},{"id":"7efbb060-1496-30ad-bec2-4ceba21c3661","product":{"name":"gcc","vendor":{"name":"GNU"}}},{"id":"e102647b-72fb-32e8-b20c-9876816b4fe6","product":{"name":"3.0","vendor":{"name":"Wind River"}}},{"id":"efdec7ab-2146-3b62-b992-3643b72c12ca","product":{"name":"Azure Linux","vendor":{"name":"Microsoft"}}},{"id":"fc80fba5-c7c5-3933-84c3-5d7a694acb94","product":{"name":"tensorflow","vendor":{"name":"tensorflow"}}}]}},{"id":"62564980-9bec-3675-9cb4-77dec6bba671","advisory":{"id":"openSUSE-SU-2026:12529-1","description":"go1.26-1.26.11-1.1 on GA media","summary":"go1.26-1.26.11-1.1 on GA media","datePublished":"Nov 11, 2026, 12:00:00 AM","dateUpdated":"Nov 12, 2026, 11:01:44 AM","baseScore":0.0,"references":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_12529-1.json\nhttps://www.suse.com/security/cve/CVE-2026-97033/\nhttps://www.suse.com/security/cve/CVE-2026-97034/\nhttps://www.suse.com/security/cve/CVE-2026-97035/\nhttps://www.suse.com/security/cve/CVE-2026-97036/\nhttps://www.suse.com/security/cve/CVE-2026-97037/\nhttps://www.suse.com/security/cve/CVE-2026-97038/\nhttps://www.suse.com/security/cve/CVE-2026-97039/\nhttps://www.suse.com/security/cve/CVE-2026-97040/\nhttps://www.suse.com/security/cve/CVE-2026-97041/\nhttps://www.suse.com/security/cve/CVE-2026-97042/\nhttps://www.suse.com/security/cve/CVE-2026-97043/\nhttps://www.suse.com/security/cve/CVE-2026-97054/\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":21,"name":"csaf_opensuse"},"advisoryProduct":[{"id":"12f33c92-fc22-37cd-96d9-aa64c66311fa","product":{"name":"openSUSE Tumbleweed","vendor":{"name":"SUSE"}}},{"id":"26b60a0e-0d0a-309c-a8fb-04c80b587f51","product":{"name":"go1.26-0:1.26.11-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"4012baed-5195-3d89-aef6-fdbecce8e535","product":{"name":"go1.26-0:1.26.11-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"40a63cfc-0155-329f-905e-14a4389fe1d2","product":{"name":"go1.26-doc-0:1.26.11-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"4bb25f78-55c5-3dc3-9643-20fdd15db850","product":{"name":"go1.26-doc-0:1.26.11-1.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"54e35f03-8892-375f-b81e-4f16bbafbeb4","product":{"name":"go1.26-doc-0:1.26.11-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"78aedbe5-c7c3-3fea-8f82-a7dd595f491e","product":{"name":"go1.26-race-0:1.26.11-1.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"920d9c5e-8abe-3b9e-8842-06f81ada5f2d","product":{"name":"go1.26-0:1.26.11-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"c5a3a0dd-c6bc-3769-a1d1-13689fee1a03","product":{"name":"go1.26-race-0:1.26.11-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"e3e9456d-4263-3ccc-85fc-0748774cb8f2","product":{"name":"go1.26-0:1.26.11-1.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"e762edd8-aa8a-35ba-b0d1-a07c4c0a8a39","product":{"name":"go1.26-doc-0:1.26.11-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"ef9e1241-12e7-3a49-80c2-13ee75d93976","product":{"name":"go1.26-race-0:1.26.11-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"f22a8d9e-1800-32a2-979f-24d0cd530a08","product":{"name":"go1.26-race-0:1.26.11-1.1.ppc64le","vendor":{"name":"SUSE"}}}]}},{"id":"bfbf1fb8-73bf-3d37-a492-b87eee6807f3","advisory":{"id":"openSUSE-SU-2026:12540-1","description":"go1.27-1.27.4-1.1 on GA media","summary":"go1.27-1.27.4-1.1 on GA media","datePublished":"Nov 13, 2026, 12:00:00 AM","dateUpdated":"Nov 14, 2026, 10:21:31 AM","baseScore":0.0,"references":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_12540-1.json\nhttps://www.suse.com/security/cve/CVE-2026-97033/\nhttps://www.suse.com/security/cve/CVE-2026-97034/\nhttps://www.suse.com/security/cve/CVE-2026-97035/\nhttps://www.suse.com/security/cve/CVE-2026-97036/\nhttps://www.suse.com/security/cve/CVE-2026-97037/\nhttps://www.suse.com/security/cve/CVE-2026-97038/\nhttps://www.suse.com/security/cve/CVE-2026-97039/\nhttps://www.suse.com/security/cve/CVE-2026-97040/\nhttps://www.suse.com/security/cve/CVE-2026-97041/\nhttps://www.suse.com/security/cve/CVE-2026-97042/\nhttps://www.suse.com/security/cve/CVE-2026-97043/\nhttps://www.suse.com/security/cve/CVE-2026-97054/\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":21,"name":"csaf_opensuse"},"advisoryProduct":[{"id":"206cffed-ade2-31e9-920c-07396e5aff6e","product":{"name":"go1.27-0:1.27.4-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"2a3a4c7d-d6ed-364a-9148-a44b7ff0f436","product":{"name":"go1.27-0:1.27.4-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"2ab1d962-e3c7-3613-be5d-cb8ee9c6037c","product":{"name":"go1.27-doc-0:1.27.4-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"2fe1af53-68b5-3961-a4a8-26b1413f8c6f","product":{"name":"go1.27-race-0:1.27.4-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"585f8770-1504-381f-940f-ab1fc6971f2d","product":{"name":"go1.27-race-0:1.27.4-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"7fd9fb01-5235-3bb3-8a24-08a70cc68497","product":{"name":"go1.27-doc-0:1.27.4-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"92d43522-e255-3c63-8fe0-f36a1c36202c","product":{"name":"openSUSE Tumbleweed","vendor":{"name":"SUSE"}}},{"id":"9be3bbc1-2ac0-3ae9-af06-4ba4554f4846","product":{"name":"go1.27-doc-0:1.27.4-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"a40426d2-6569-3aec-9715-07e5bed45892","product":{"name":"go1.27-race-0:1.27.4-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"e0eb5f96-49d6-3b35-b3bf-ffa8f267c522","product":{"name":"go1.27-0:1.27.4-1.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"e7c6fa5a-efca-3745-9f6b-88b8f4d4086a","product":{"name":"go1.27-0:1.27.4-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"ee20b2f7-6619-3397-ba99-f5123c952cf8","product":{"name":"go1.27-doc-0:1.27.4-1.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"ef31f381-23b5-3554-a973-86d141903db9","product":{"name":"go1.27-race-0:1.27.4-1.1.aarch64","vendor":{"name":"SUSE"}}}]}},{"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 12, 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":"110e7eed-5fba-370d-b323-ec8a6cff6d04","product":{"name":"SUSE Linux","vendor":{"name":"SUSE"}}},{"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"}}}]}}]}