Go 1.27.2 vulnerabilities

13 published vulnerabilities affect Go 1.27.2.

13CVEs
1critical (CVSS 9+)
10high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The nearest newer release on the 1.27 line with no known CVEs is 1.27.4.

Upgrade toFixesStill openNew in that release
1.27.4nearest 1.27 release with no known CVEsall 131 criticalnonenone

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting Go 1.27.2

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2026-97040Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link9.8None knownunder 1%1.27.4CVE record
CVE-2026-97043Unexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compile8.8None knownunder 1%1.27.4CVE record
CVE-2026-97042Linker flag injection via cgo_import_dynamic and PE DLL names in cmd/cgo, cmd/compile, and cmd/link8.8None knownunder 1%1.27.4CVE record
CVE-2026-97041Host linker flag injection via //go:cgo_* directives in cmd/compile and cmd/link8.8None knownunder 1%1.27.4CVE record
CVE-2026-97038Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/go8.8None knownunder 1%1.27.4CVE record
CVE-2026-97037Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/go8.8None knownunder 1%1.27.4CVE record
CVE-2026-97036Arbitrary code execution during build on darwin via "-l to_library" in cgo in cmd/go8.8None knownunder 1%1.27.4CVE record
CVE-2026-97035Unexpected code execution and arbitrary file write via Clang -gen-* and GCC -gnat* flags in cgo in cmd/go8.8None knownunder 1%1.27.4CVE record
CVE-2026-97034Arbitrary command execution via GCC spec files in cgo linker search directories in cmd/go8.8None knownunder 1%1.27.4CVE record
CVE-2026-97033Unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/go8.8None knownunder 1%1.27.4CVE record
CVE-2026-97039Flag sanitization bypass via "#cgo pkg-config:" directives in cmd/go8.3None knownunder 1%1.27.4CVE record
CVE-2026-111943Distrust compromised intermediate certificates in crypto/x5096.8None knownunder 1%1.27.3CVE record
CVE-2026-97054HTTP/1 server crash due to MaxBytesReader header race in net/http5.9None knownunder 1%1.27.4CVE record

Fixed since 1.27.1

15 CVEs that affect 1.27.1, the release before it, do not affect 1.27.2 (2 critical):

  • CVE-2026-56857 Root.Mkdir(All) can follow junctions out of the root on Windows in os CVSS 9.8
  • CVE-2026-78663 Double flow control refund on HTTP/2 server streams in net/http CVSS 9.1
  • CVE-2026-94447 Checksum database bypass for golang.org/toolchain in cmd/go CVSS 7.8
  • CVE-2026-94444 Checksum bypass for golang.org/fips140 in cmd/go CVSS 7.8
  • CVE-2026-97032 HTTP/2 server crash due to HPACK encoder race in net/http CVSS 7.5
  • CVE-2026-97031 Reject malformed ECH outer extension references in crypto/tls CVSS 7.5
  • CVE-2026-94440 Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart CVSS 7.5
  • CVE-2026-94439 HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http CVSS 7.5

And 7 more: CVE-2026-78669, CVE-2026-78667, CVE-2026-78660, CVE-2026-78659, CVE-2026-56866, CVE-2026-97030, CVE-2026-94448.

Support for the 1.27 line

The 1.27 line was first released 19 August 2026. Its latest release is 1.27.4. Dates and latest release from endoflife.date.

Other Go 1.27 releases

1.27.40 1.27.312 1.27.128 1.27.028 1.27-rc11

All Go versions

How this list is made

These are the CVEs Dawnsentry matches to each Go version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 1 December 2026.