// newsletters

Urgent x509 fix, JSON v2 and faster HTTP/1 reuse

Go Monthly · Nov 10, 2026

Urgent x509 fix, JSON v2 and faster HTTP/1 reuse

A busy month for Go security, plus a few good posts from the team on things that already shipped in 1.27.

1. Go shipped its first URGENT security release for the eMudhra keys

On October 19 the Go team found out that eight intermediate certificates under an eMudhra root had weak keys that could be recovered in microseconds. Mozilla had already pulled them via OneCRL on October 17. Go put out 1.27.3 and 1.26.10 that same evening, under 7.5 hours after the first alert.

The fix is in crypto/x509. Verify now rejects any chain that runs through those intermediates (CVE-2026-111943, issue 82345). It's the first release on the new URGENT track, and the post walks through the timeline.

Since Go binaries carry their own verifier, nothing changes until you rebuild. The post suggests govulncheck -mode=binary to find old builds still sitting around.

2. Go 1.27.4 and 1.26.11 are due today with 12 CVEs

The pre-announcement went out November 5 for a release on Tuesday, November 10, during US business hours. It covers private security fixes to both the standard library and the toolchain.

The CVEs are CVE-2026-97033 through CVE-2026-97043 plus CVE-2026-97054. The packages and severity weren't public yet when I wrote this. If you skipped 1.27.2 and 1.26.9 from October 8 (fixes to the go command, crypto/tls, html/template, net/http, net/textproto and os), this is a good time to catch up on everything at once.

3. encoding/json/v2 is stable in Go 1.27

The team wrote up the new JSON API. encoding/json/v2 and encoding/json/jsontext no longer need a GOEXPERIMENT flag. v1 is now built on top of v2, and existing v1 code keeps working.

v2 changes defaults in ways you'll notice. It rejects invalid UTF-8 and duplicate object names, encodes nil slices and maps as [] and {}, matches field names case-sensitively, and omitempty now skips any empty JSON value. Marshal is about the same speed as v1. Unmarshal is a lot faster, up to 10x in their benchmarks.

The migration guide shows how to get v2 behavior from v1 calls one option at a time, which is how I'd roll it out on a big codebase.

4. HTTP/1 clients reuse connections much better in 1.27

Before 1.27, closing a response body you hadn't read to the end made net/http throw the connection away. Lots of code does exactly that.

The Transport now drains the unread body in the background, up to 50 ms or 256 KB, and puts the connection back in the pool. It skips this when the server sent Connection: close. Their test of 100 sequential GETs over HTTP/1 went from about 710 ms on 1.26 to about 150 ms on 1.27.

You don't need to change anything. Just call resp.Body.Close(), and you can probably drop any manual io.Copy(io.Discard, ...) draining you added years ago.

5. gopls gets interactive refactoring

gopls can now run refactorings that ask you questions along the way, instead of guessing. The protocol work was done with the Dart team and proposed as a standard LSP extension.

gopls v0.23.0 added interactive Add/Remove struct tags and Implement Interface. v0.24.0 brings general support for interactive refactoring, and VS Code Go v0.56.0 supports it. A Move declaration refactoring is in preview for an upcoming release.

6. Microsoft backported the revocation fix to Go 1.25

Microsoft put out a Go 1.25.14-2 build on November 9 with a certificate revocation fix, even though Go 1.25 reached end of life in August.

The post says plainly that this toolset isn't supported or secure. It's a stopgap for anyone stuck on 1.25, so if that's you, plan the jump to 1.26 or 1.27.

Worth a look

See you in December.

Get it by email