Skip to content

chore: bump Go toolchain to 1.26.5 to clear stdlib advisories - #83

Merged
Lillevang merged 1 commit into
mainfrom
chore/bump-go-1.26.4
Jul 17, 2026
Merged

chore: bump Go toolchain to 1.26.5 to clear stdlib advisories#83
Lillevang merged 1 commit into
mainfrom
chore/bump-go-1.26.4

Conversation

@Lillevang

Copy link
Copy Markdown
Owner

Closes #77.

What

Bump the toolchain directive in go.mod from go1.26.3 to go1.26.5.

Why 1.26.5 and not 1.26.4

#77 asked for 1.26.4 to clear GO-2026-5037 / GO-2026-5039, which PR #73's new net/http path made govulncheck report. Bumping to 1.26.4 does clear those two — but govulncheck then surfaces a newer stdlib advisory, GO-2026-5856 (Encrypted Client Hello privacy leak in crypto/tls), reachable through the same HTTP path in internal/selfupdate and fixed in go1.26.5.

The issue's acceptance criterion is "confirm check.sh runs clean afterward (advisory cleared)," which only 1.26.5 satisfies. So this pins 1.26.5 rather than the literal 1.26.4.

Verification

  • govulncheck ./...No vulnerabilities found (was: GO-2026-5037/5039 on 1.26.3; GO-2026-5856 on 1.26.4).
  • go build, go vet, and go test ./... all pass on 1.26.5.
  • No CI or devcontainer version pins to change: CI resolves Go via go-version-file: go.mod (.github/actions/setup/action.yml, .github/workflows/release.yml).

Scope kept to the toolchain bump; no dependency changes.

🤖 Generated with Claude Code

Closes #77.

PR #73's `agent-init upgrade` introduced a net/http path that makes
govulncheck report stdlib advisories reachable from selfupdate. #77 asked
for go1.26.4 to clear GO-2026-5037/5039; bumping there clears those two
but govulncheck then surfaces GO-2026-5856 (crypto/tls Encrypted Client
Hello privacy leak), reachable through the same HTTP path and fixed in
go1.26.5. To satisfy the issue's "check.sh runs clean" acceptance
criterion rather than just its literal version, this pins go1.26.5.

Verified: `govulncheck ./...` reports "No vulnerabilities found"; build,
vet, and the full test suite pass. CI reads the version via
`go-version-file: go.mod`, so no CI/devcontainer pin changes are needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Lillevang
Lillevang merged commit 9bf70b4 into main Jul 17, 2026
1 check passed
@Lillevang
Lillevang deleted the chore/bump-go-1.26.4 branch July 17, 2026 22:40
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.

Bump Go toolchain to 1.26.4 to clear stdlib vuln (GO-2026-5037/5039)

1 participant