{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-97039","published":"2026-11-11T05:19:58.133000Z","last_modified":"2026-11-16T18:17:33.960000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":8.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-88"],"cpes":[],"cpes_truncated":false,"vendors":["go-toolchain"],"products":["go-toolchain/cmd-go"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2026-6852","ecosystem":"Go","name":"toolchain","purl":"pkg:golang/toolchain","ranges":[{"introduced":"0","fixed":"1.26.11"},{"introduced":"1.27.0-0","fixed":"1.27.4"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":65,"links":{"html_es":"/es/cve/CVE-2026-97039/","html_en":"/en/cve/CVE-2026-97039/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-97039","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-97039"},"untrusted":{"vendor_name":"Go toolchain","product_name":"cmd/go","desc_en":"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.","affected":[{"untrusted_vendor":"Go toolchain","untrusted_product":"cmd/go","versions":[]}],"references":[{"url":"https://go.dev/cl/862152","tags":[]},{"url":"https://go.dev/issue/82571","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-6852","tags":[]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:102592","url":"https://access.redhat.com/errata/RHSA-2026:102592","published":"2026-11-25T10:07:18+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update"}},{"source":"redhat","id":"RHSA-2026:102586","url":"https://access.redhat.com/errata/RHSA-2026:102586","published":"2026-11-25T10:07:17+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: golang security, bug fix, and enhancement update"}},{"source":"redhat","id":"RHSA-2026:102587","url":"https://access.redhat.com/errata/RHSA-2026:102587","published":"2026-11-25T10:07:17+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: golang security, bug fix, and enhancement update"}},{"source":"suse","id":"SUSE-SU-2026:24892-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202624892-1/","published":"2026-11-19T11:59:56+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for go1.26"}},{"source":"suse","id":"openSUSE-SU-2026:22386-1","url":"https://www.suse.com/support/update/","published":"2026-11-19T11:59:56+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for go1.26"}},{"source":"suse","id":"SUSE-SU-2026:24920-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202624920-1/","published":"2026-11-19T11:59:07+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for go1.26"}}]}