Skip to content

chore(deps): bump go directive to 1.26.4 (clears 2 reachable stdlib vulns)#70

Merged
CMGS merged 1 commit into
masterfrom
chore/bump-go-1.26.4
Jun 29, 2026
Merged

chore(deps): bump go directive to 1.26.4 (clears 2 reachable stdlib vulns)#70
CMGS merged 1 commit into
masterfrom
chore/bump-go-1.26.4

Conversation

@CMGS

@CMGS CMGS commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Follow-up to the grpc bump (#69). govulncheck flagged two reachable Go standard-library vulnerabilities, both fixed in go1.26.4:

Vuln Component Reached via Severity
GO-2026-5039 net/textproto (unescaped inputs in errors) utils.DoAPI → io.ReadAll → textproto.ReadMIMEHeader (local CH/FC API socket) low
GO-2026-5037 crypto/x509 (inefficient hostname parsing) snapshot.Handler.Export → io.Copy → x509.Verify/VerifyHostname (registry TLS) low

Both are low practical risk (trusted local hypervisor API peer / registry TLS during export), but the fix is free.

Change

CI builds via go-version-file: go.mod, so the toolchain is pinned by the go directive. Bump go 1.25.6go 1.26.4. One line; go mod tidy left go.sum unchanged.

Verification (on go1.26.4)

  • go build ./... + GOOS=linux go build ./...
  • go vet (both platforms)
  • make lint (darwin + linux, 0 issues)
  • go test -race -count=1 ./... — 24/24
  • govulncheck ./...0 vulnerabilities (was 2)

CI builds via `go-version-file: go.mod`, so the toolchain version is the `go`
directive. govulncheck flagged two reachable Go stdlib vulnerabilities fixed in
go1.26.4:
- GO-2026-5039 net/textproto (unescaped inputs in errors) — reached via
  utils.DoAPI → textproto.ReadMIMEHeader on the local hypervisor API socket.
- GO-2026-5037 crypto/x509 (inefficient hostname parsing) — reached via
  snapshot Export → x509 Verify/VerifyHostname.

Both low severity (trusted local peer / registry TLS), but bumping the build
toolchain clears them. After: govulncheck reports 0 vulnerabilities.

build/vet/lint (darwin+linux) + race tests green on go1.26.4.
@CMGS CMGS merged commit a17c7d0 into master Jun 29, 2026
4 checks passed
@CMGS CMGS deleted the chore/bump-go-1.26.4 branch June 29, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant