Repository navigation
fix: bump Go to 1.26.11 to clear GO-2026-6859 - #163
Conversation
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]>
0b3fb8c to
647ad52
Compare
jflowers
left a comment
There was a problem hiding this comment.
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.modbumps thegodirective 1.26.10 → 1.26.11 — the fix for GO-2026-6859 (HTTP/1 server crash from a MaxBytesReader header race innet/http).- CI and the SHA-pinned reusable release workflows select the toolchain from
go.mod(go-version-file: go.mod); noGOTOOLCHAINoverride or parallel version pin exists — issue #162'sGOTOOLCHAIN=localclaim 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).
| - 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 |
There was a problem hiding this comment.
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.
Summary
GovulncheckinBuild and Testfails on every PR and onmainafter 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 aMaxBytesReaderheader race innet/http— and is fixed in go1.26.11.This PR raises the
godirective ingo.modfrom1.26.10to1.26.11. CI takes its toolchain fromgo.mod, so no workflow change is needed.Closes #162. Unblocks #161 and #157.
Why CI picks this up
.github/workflows/ci.ymlusesactions/setup-gowithgo-version-file: go.modandcache: false.go.modhas notoolchaindirective, so thegodirective is the single source of the toolchain version for build, vet, test, and govulncheck.Changes
go.mod:go 1.26.10→go 1.26.11CHANGELOG.md:Unreleased → SecurityentryNo workflow, dependency, test-flag, coverage-threshold, action-pin, or scanner-pin changes.
Verification
go versionin modulego1.26.11 linux/arm64(auto-resolved)go build ./...go vet ./...make check(vet + full suite)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=local. NoGOTOOLCHAINassignment exists anywhere in the repository; Go's defaultGOTOOLCHAIN=autoapplies. The fix is unchanged —setup-goinstalls exactly the version declared ingo.modeither way.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.govulncheckis the regression guard, and this change has no production-code surface.Test plan
Build and Testis greenStandardized CI / Run lintersis greenmain)