{"id":"EUVD-2026-123106","revision":"6bc23d887c82401fbebb60e62b7b3cef","records":[{"revision":"6bc23d887c82401fbebb60e62b7b3cef","observedAt":"2026-11-13T05:19:02.757+00:00","statement":{"source":"euvd","id":"EUVD-2026-123106","aliases":["CVE-2026-97039","GHSA-4x3g-87c5-vq62"],"title":"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=\" and \"--perso…","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=\" and \"--personality=\", allowed \"--define-variable=\" values beginning with \"=\" or \"$\" (which can rewrite paths in system \".pc\" files into sysroot-prefixed \"-L=\" 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=\", \"--personality=\", leading \"=\" or \"$\" characters in \"--define-variable=\" values, and local \".pc\" paths in \"#cgo pkg-config:\" directives, and inspects cgoCPPFLAGS when checking internal linking compatibility.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://go.dev/cl/862152","https://go.dev/issue/82571","https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM","https://pkg.go.dev/vuln/GO-2026-6852"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-123106","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 11, 2026, 3:13:15 AM","dateUpdated":"Nov 11, 2026, 3:13:15 AM"},"relatedAdvisories":[{"id":"WID-SEC-W-2026-4370","title":"Golang Go: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff","vulnerabilityIds":["CVE-2026-97033","CVE-2026-97034","CVE-2026-97035","CVE-2026-97036","CVE-2026-97037","CVE-2026-97038","CVE-2026-97039","CVE-2026-97040","CVE-2026-97041","CVE-2026-97042","CVE-2026-97043","CVE-2026-97054"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-123106","identifiers":["EUVD-2026-123106","CVE-2026-97039","GHSA-4x3g-87c5-vq62"]},"retained":false,"historicalAffected":[]}],"coverage":[]}