Go 1.27.0 vulnerabilities
28 published vulnerabilities affect Go 1.27.0.
What to upgrade to
The nearest newer release on the 1.27 line with no known CVEs is 1.27.4.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 1.27.4nearest 1.27 release with no known CVEs | all 283 critical | none | none |
"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.0
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.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2026-97040Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link | 9.8 | None known | under 1% | 1.27.4CVE record |
| CVE-2026-56857Root.Mkdir(All) can follow junctions out of the root on Windows in os | 9.8 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-78663Double flow control refund on HTTP/2 server streams in net/http | 9.1 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-97043Unexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compile | 8.8 | None known | under 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/link | 8.8 | None known | under 1% | 1.27.4CVE record |
| CVE-2026-97041Host linker flag injection via //go:cgo_* directives in cmd/compile and cmd/link | 8.8 | None known | under 1% | 1.27.4CVE record |
| CVE-2026-97038Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/go | 8.8 | None known | under 1% | 1.27.4CVE record |
| CVE-2026-97037Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/go | 8.8 | None known | under 1% | 1.27.4CVE record |
| CVE-2026-97036Arbitrary code execution during build on darwin via "-l to_library" in cgo in cmd/go | 8.8 | None known | under 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/go | 8.8 | None known | under 1% | 1.27.4CVE record |
| CVE-2026-97034Arbitrary command execution via GCC spec files in cgo linker search directories in cmd/go | 8.8 | None known | under 1% | 1.27.4CVE record |
| CVE-2026-97033Unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/go | 8.8 | None known | under 1% | 1.27.4CVE record |
| CVE-2026-97039Flag sanitization bypass via "#cgo pkg-config:" directives in cmd/go | 8.3 | None known | under 1% | 1.27.4CVE record |
| CVE-2026-94447Checksum database bypass for golang.org/toolchain in cmd/go | 7.8 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-94444Checksum bypass for golang.org/fips140 in cmd/go | 7.8 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-97032HTTP/2 server crash due to HPACK encoder race in net/http | 7.5 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-97031Reject malformed ECH outer extension references in crypto/tls | 7.5 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-94440Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart | 7.5 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-94439HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http | 7.5 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-78669Excessive CPU consumption from repeated initial window changes in net/http | 7.5 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-78667Lack of limit on size of parsed Range headers in net/http | 7.5 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-78660HTTP/2 transport accepts malformed framing-related headers in net/http | 7.5 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-78659HTTP/2 server memory exhaustion due to Trailer headers in net/http | 7.5 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-56866HTTP/1 client connection desynchronization after CONNECT rejection in net/http | 7.5 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-111943Distrust compromised intermediate certificates in crypto/x509 | 6.8 | None known | under 1% | 1.27.3CVE record |
| CVE-2026-97030Recognize yield as regexp preceder keyword in html/template | 6.1 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-94448Reset context tracking on consecutive template expressions in html/template | 6.1 | None known | under 1% | 1.27.2CVE record |
| CVE-2026-97054HTTP/1 server crash due to MaxBytesReader header race in net/http | 5.9 | None known | under 1% | 1.27.4CVE record |
Fixed since 1.27-rc1
1 CVE that affects 1.27-rc1, the release before it, does not affect 1.27.0:
- CVE-2024-8244 Walk/WalkDir in path/filepath susceptible to symlink race CVSS 3.7
28 CVEs affect 1.27.0 and not 1.27-rc1: CVE-2026-97040, CVE-2026-56857, CVE-2026-78663, CVE-2026-97043, CVE-2026-97042, CVE-2026-97041 and 22 more.
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.213 1.27.128 1.27-rc11
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 2 December 2026.