{"id":"EUVD-2026-123110","enisaUuid":"5c4056ac-c245-3ad7-af8a-35cd26263542","description":"When using Clang or GCC, building a malicious package that uses cgo could cause unexpected code execution at build time or write files to arbitrary directories via \"-gen-*\" or \"-gnat*\" flags in \"#cgo\" directives. The \"-g*\" wildcard in the compiler and linker flag allowlists previously matched Clang\u0027s two-argument \"-gen-cdb-fragment-path \u003cdir\u003e\" flag and GCC\u0027s two-argument \"-gnatO \u003cfile\u003e\" flag, permitting compilation database fragments and sidecar output files to be written to arbitrary directories and desynchronizing flag argument parsing between the go command and the compiler driver so that subsequent arguments could be passed as unvalidated positional inputs to the linker. \"-gen-*\" and \"-gnat*\" flags are now disallowed in \"#cgo\" compiler and linker flags.","datePublished":"Nov 11, 2026, 3:13:16 AM","dateUpdated":"Nov 11, 2026, 3:13:16 AM","baseScore":0.0,"references":"https://go.dev/cl/862148\nhttps://go.dev/issue/82575\nhttps://groups.google.com/g/golang-announce/c/iY8TY0wWgbM\nhttps://pkg.go.dev/vuln/GO-2026-6856\n","aliases":"CVE-2026-97035\nGHSA-6f8j-v7cw-qxpp\n","assigner":"Go","epss":0.25,"enisaIdProduct":[{"id":"91a1b711-44d6-3641-b02d-983d4acd90d3","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"0 \u003c1.26.11"},{"id":"a33710a8-51fb-3709-8e6b-482ce7a69317","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"1.27.0-0 \u003c1.27.4"}],"enisaIdVendor":[{"id":"f8629672-7188-3bf9-82e6-f91339877cd4","vendor":{"name":"Go toolchain"}}],"enisaIdVulnerability":[{"id":"37fef2ae-3f04-3de9-91ab-d7e8b29dbbd3","vulnerability":{"id":"CVE-2026-97035","description":"When using Clang or GCC, building a malicious package that uses cgo could cause unexpected code execution at build time or write files to arbitrary directories via \"-gen-*\" or \"-gnat*\" flags in \"#cgo\" directives. The \"-g*\" wildcard in the compiler and linker flag allowlists previously matched Clang\u0027s two-argument \"-gen-cdb-fragment-path \u003cdir\u003e\" flag and GCC\u0027s two-argument \"-gnatO \u003cfile\u003e\" flag, permitting compilation database fragments and sidecar output files to be written to arbitrary directories and desynchronizing flag argument parsing between the go command and the compiler driver so that subsequent arguments could be passed as unvalidated positional inputs to the linker. \"-gen-*\" and \"-gnat*\" flags are now disallowed in \"#cgo\" compiler and linker flags.","datePublished":"Nov 11, 2026, 3:13:16 AM","dateUpdated":"Nov 11, 2026, 3:13:16 AM","status":"PUBLISHED","baseScore":0.0,"references":"https://go.dev/cl/862148\nhttps://go.dev/issue/82575\nhttps://groups.google.com/g/golang-announce/c/iY8TY0wWgbM\nhttps://pkg.go.dev/vuln/GO-2026-6856\n","enisa_id":"EUVD-2026-123110\n","assigner":"Go","epss":0.25,"dataProcessed":"Nov 15, 2026, 7:17:22 AM","vulnerabilityProduct":[{"id":"a0f23067-3ff4-3243-99bf-8bb9c690fd3c","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"1.27.0-0 \u003c1.27.4"},{"id":"ab68a8d3-32cc-3543-8060-01f75456d8dc","product":{"name":"cmd/go","vendor":{"name":"Go toolchain"}},"product_version":"0 \u003c1.26.11"}],"vulnerabilityVendor":[{"id":"40c256fe-7bd3-3227-950a-0560ca62349f","vendor":{"name":"Go toolchain"}}]}},{"id":"ad4629ac-5350-31a6-a018-195f6944f8a5","vulnerability":{"id":"GHSA-6f8j-v7cw-qxpp","description":"When using Clang or GCC, building a malicious package that uses cgo could cause unexpected code execution at build time or write files to arbitrary directories via \"-gen-*\" or \"-gnat*\" flags in \"#cgo\" directives. The \"-g*\" wildcard in the compiler and linker flag allowlists previously matched Clang\u0027s two-argument \"-gen-cdb-fragment-path \u003cdir\u003e\" flag and GCC\u0027s two-argument \"-gnatO \u003cfile\u003e\" flag, permitting compilation database fragments and sidecar output files to be written to arbitrary directories and desynchronizing flag argument parsing between the go command and the compiler driver so that subsequent arguments could be passed as unvalidated positional inputs to the linker. \"-gen-*\" and \"-gnat*\" flags are now disallowed in \"#cgo\" compiler and linker flags.","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-97035\nhttps://go.dev/cl/862148\nhttps://go.dev/issue/82575\nhttps://groups.google.com/g/golang-announce/c/iY8TY0wWgbM\nhttps://pkg.go.dev/vuln/GO-2026-6856\n","enisa_id":"EUVD-2026-123110\n","aliases":"CVE-2026-97035\nGHSA-6f8j-v7cw-qxpp\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 7:06:20 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"246e7732-778e-3760-b6df-dc0e71b9ea54","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":"545a2ff1-c2c4-3ece-809e-8031b049817b","advisory":{"id":"msrc_CVE-2026-97035","description":"Unexpected code execution and arbitrary file write via Clang -gen-* and GCC -gnat* flags in cgo in cmd/go","datePublished":"Nov 13, 2026, 1:04:23 AM","dateUpdated":"Nov 13, 2026, 1:04:23 AM","baseScore":0.0,"references":"https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-97035.json\n","aliases":"CVE-2026-97035\n","source":{"id":20,"name":"csaf_microsoft"},"advisoryProduct":[{"id":"072d5b7a-dd7e-3b3d-aa4b-b54782949fda","product":{"name":"tensorflow","vendor":{"name":"tensorflow"}}},{"id":"1e5bc86c-7b0b-3146-90c3-3a8ce17d9edb","product":{"name":"gcc","vendor":{"name":"GNU"}}},{"id":"42d89992-0a4d-303a-96a7-40fa5d43f021","product":{"name":"Azure Linux","vendor":{"name":"Microsoft"}}},{"id":"99ad219e-b160-3f8a-8d71-b93d0cb3faec","product":{"name":"python-tensorboard","vendor":{"name":"Microsoft"}}},{"id":"b307eb41-6e22-3e15-9061-d475389d5cf1","product":{"name":"GoLang","vendor":{"name":"Go Programming Language"}}},{"id":"c6250bb5-fff9-3e13-8f0d-0bb9b2367b64","product":{"name":"3.0","vendor":{"name":"Wind River"}}}]}},{"id":"6538bf04-02ba-3032-a6cb-6d5c6f046af5","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":"8431f8a3-cb3e-33e2-acd2-ba7d82d0666f","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"}}}]}}]}