{"identifier":"CVE-2026-97033","cve":{"id":"CVE-2026-97033","description":"Building a malicious package that uses cgo could cause arbitrary code execution at build time through several compiler and linker flags permitted in \"#cgo\" directives. Specifically, \"--sysroot\" in GCC and Clang relocates compiler subprograms, spec files, and CRT startup objects to an attacker-controlled directory; \"-target\" in Clang falls back to executing target helper tools from the current working directory when not found in PATH; \"-isysroot\" and \"-Wl,-syslibroot\" can pass a regular file on disk to GNU ld.bfd, which interprets it as a positional linker script; and \"-x\" permitted specifying arbitrary compiler input languages beyond those supported by cgo. \"--sysroot\" and \"-target\" are now disallowed in \"#cgo\" flags, \"-isysroot\" and \"-Wl,-syslibroot\" are verified not to point to regular files, and \"-x\" is restricted to the C, C++, Objective-C, and assembler languages supported by cgo.","published":"2026-11-11T05:19:57.253000+00:00","modified":"2026-11-17T05:18:38.220000+00:00","status":"Awaiting Analysis","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvss_version":"3.1","affected":[],"weaknesses":["CWE-77"],"references":[{"url":"https://go.dev/cl/862146","source":"security@golang.org"},{"url":"https://go.dev/issue/82577","source":"security@golang.org"},{"url":"https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM","source":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2026-6858","source":"security@golang.org"}],"kev":null,"kev_checked":true,"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-16T00:00:00+00:00","id":"CVE-2026-97033","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[],"source":"nvd","retrieved_at":"2026-11-17T07:51:46.554086+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence."]},"epss":{"probability":0.00541,"percentile":0.46203,"date":"2026-11-18","stale":false},"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"go.dev","source_url":"https://go.dev/cl/862146","investigate_url":"https://investigate.aeglixmind.com/#go.dev"},{"domain":"groups.google.com","source_url":"https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM","investigate_url":"https://investigate.aeglixmind.com/#groups.google.com"},{"domain":"pkg.go.dev","source_url":"https://pkg.go.dev/vuln/GO-2026-6858","investigate_url":"https://investigate.aeglixmind.com/#pkg.go.dev"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-97033","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-97033","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-97033","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}