Skip to content

fix: bump Go to 1.26.11 to clear GO-2026-6859 - #163

Merged
yvonnedevlinrh merged 1 commit into
unbound-force:mainfrom
yvonnedevlinrh:fix/go-1.26.11
Nov 12, 2026
Merged

yvonnedevlinrh merged 1 commit into
unbound-force:mainfrom
yvonnedevlinrh:fix/go-1.26.11

Conversation

@yvonnedevlinrh

Copy link
Copy Markdown
Contributor

Summary

Govulncheck in Build and Test fails on every PR and on main after the Go vulnerability database added GO-2026-6859 on 2026-11-11. The advisory is in the standard library — an HTTP/1 server crash from a MaxBytesReader header race in net/http — and is fixed in go1.26.11.

This PR raises the go directive in go.mod from 1.26.10 to 1.26.11. CI takes its toolchain from go.mod, so no workflow change is needed.

Closes #162. Unblocks #161 and #157.

Why CI picks this up

  • .github/workflows/ci.yml uses actions/setup-go with go-version-file: go.mod and cache: false.
  • go.mod has no toolchain directive, so the go directive is the single source of the toolchain version for build, vet, test, and govulncheck.
  • The reusable release workflow follows the same contract.

Changes

  • go.mod: go 1.26.10 → go 1.26.11
  • CHANGELOG.md: Unreleased → Security entry

No workflow, dependency, test-flag, coverage-threshold, action-pin, or scanner-pin changes.

Verification

Check Result
go version in module go1.26.11 linux/arm64 (auto-resolved)
go build ./... pass
go vet ./... pass
make check (vet + full suite) pass, exit 0
govulncheck ./... No vulnerabilities found.

Local govulncheck is v1.9.0 while CI pins v1.5.0. Both consume the same vulnerability database, so the stdlib advisory outcome is identical; CI remains the authoritative check.

Review notes

  • GOTOOLCHAIN correction: issue fix(ci): bump Go toolchain to 1.26.11 to clear GO-2026-6859 in net/http #162 states that CI sets GOTOOLCHAIN=local. No GOTOOLCHAIN assignment exists anywhere in the repository; Go's default GOTOOLCHAIN=auto applies. The fix is unchanged — setup-go installs exactly the version declared in go.mod either way.
  • No spec: this is a patch bump inside the documented "Go 1.26.9 or later" baseline from chore: update Go toolchain for reachable standard-library vulnerabilities #131 (openspec/changes/fix-go-toolchain-vulnerabilities), matching the prior 1.26.9 → 1.26.10 bare-bump precedent. The documented minimum does not move, so README, CONTRIBUTING, AGENTS.md, and the website docs need no update.
  • No new tests: govulncheck is the regression guard, and this change has no production-code surface.

Test plan

@yvonnedevlinrh
yvonnedevlinrh requested a review from a team as a code owner November 11, 2026 14:19
@yvonnedevlinrh yvonnedevlinrh self-assigned this Nov 11, 2026
govulncheck fails on main after advisory GO-2026-6859 (HTTP/1 server crash due to MaxBytesReader header race in net/http) was published on 2026-11-11. Builds under the go1.26.10 toolchain pinned in go.mod use the vulnerable standard library; the fix ships in go1.26.11.

Bumps the go directive from 1.26.10 to 1.26.11. CI picks the toolchain from go.mod via go-version-file, so no workflow change is needed. No toolchain directive is added.

Verified locally: govulncheck reports no vulnerabilities under go1.26.11, and make check passes.

This failure is pre-existing on main and unrelated to PR unbound-force#161 and PR unbound-force#157.

Signed-off-by: Yvonne Devlin <[email protected]>

@jflowers jflowers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Council Verdict: APPROVE WITH ADVISORIES

PR #163 — fix: bump Go to 1.26.11 to clear GO-2026-6859

The review council (divisor-adversary @ heavy, divisor-guard @ standard; 2/2 runs succeeded) reached APPROVE WITH ADVISORIES.

What was verified

  • go.mod bumps the go directive 1.26.10 → 1.26.11 — the fix for GO-2026-6859 (HTTP/1 server crash from a MaxBytesReader header race in net/http).
  • CI and the SHA-pinned reusable release workflows select the toolchain from go.mod (go-version-file: go.mod); no GOTOOLCHAIN override or parallel version pin exists — issue #162's GOTOOLCHAIN=local claim does not match the repo.
  • All CI checks pass on head 0b3fb8c, including the pinned govulncheck gate under the go1.26.11 toolchain.
  • The change stays inside the "Go 1.26.9 or later" baseline from openspec/changes/fix-go-toolchain-vulnerabilities; no gate, threshold, or pin was weakened.

Advisory (LOW, non-blocking)

The new CHANGELOG Security entry cites the 1.26.9-or-later baseline in prose but omits the Spec: path the adjacent 1.26.9 entry carries and a (Fixes #162) trailer as other Unreleased entries use. Optional cross-reference addition — see inline comment.

This review was generated by /uf.review-pr (AI-assisted).

Comment thread CHANGELOG.md
- Spec: `openspec/changes/init-smart-sync/specs/agentkit-scaffolding/spec.md`

### Security
- Go bumped to 1.26.11 to clear GO-2026-6859 (HTTP/1 server crash due to

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new Security entry cites the 1.26.9-or-later baseline in prose but omits the canonical link for that baseline — a Spec: path to openspec/changes/fix-go-toolchain-vulnerabilities/specs/go-toolchain-security/spec.md, which the 1.26.9 entry three lines below in the same section already carries. The entry also omits the issue this change closes (#162), while other Unreleased entries reference fixed issues with a (Fixes #NNN) trailer (CHANGELOG.md:16, :26, :78). Adding both completes traceability from the changelog to the governing spec and the fixing issue. LOW severity: the older bare-bump entry ("Go bumped to 1.25.12", line 95) sets precedent for omitting both, so this reads as an optional cross-reference addition rather than a convention break.

@jflowers
jflowers self-requested a review November 12, 2026 20:17
@yvonnedevlinrh
yvonnedevlinrh merged commit 095e873 into unbound-force:main Nov 12, 2026
7 checks passed
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.

fix(ci): bump Go toolchain to 1.26.11 to clear GO-2026-6859 in net/http

2 participants