Skip to content

build(go): move the toolchain to go1.26.11 for GO-2026-6859 - #503

Merged
bketelsen merged 1 commit into
mainfrom
build/go1.26.11
Nov 12, 2026
Merged

bketelsen merged 1 commit into
mainfrom
build/go1.26.11

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Summary

The scheduled Nightly compliance run on main failed on 2026-11-11
(run 43010530675):
govulncheck reports GO-2026-6859
(CVE-2026-97054, HTTP/1 server crash from a MaxBytesReader header race in
net/http) in the go1.26.10 standard library. The traces reach net/http
from catalog.FetchConf, manifest.VerifyHash, download and the
sourceTrackerTransport. Go 1.26.11 fixes it.

This PR moves the build Go from 1.26.10 to 1.26.11:

  • go.mod: toolchain go1.26.10 → toolchain go1.26.11. The go 1.26.6
    minimum does not change.
  • mise.lock: the [[tools.go]] entry moves to 1.26.11. Each URL and sha256
    is the go.dev value for that file (https://go.dev/dl/?mode=json&include=all,
    checked line by line for all 7 platform entries).
  • AGENTS.md and README.md: the prerequisite and build-from-source lines
    name 1.26.11.

No code change. No workflow changes: every actions/setup-go step reads
go-version-file: go.mod, so CI, the snapshot and the tagged release build
with 1.26.11 after the merge.

Checks

  • make ci green locally with go1.26.11 (verify, lint at the 2.13.1 pin,
    docs integrity, coverage, E2E, race, linux amd64/arm64 builds)
  • No new behavior, so no new tests

Risk tier

  • Tier 4: Critical (by rule: mise.lock is in .github/risk-paths.json)

Rationale:

  • A toolchain patch release with no API change and no code change.
  • Matched risk path: mise.lock ({Makefile,mise.toml,mise.lock}, L1,
    release-and-publication: make bump tags with the svu that mise.toml and
    mise.lock pin). Why it is safe: only the Go entry changes, to the official
    go.dev archives and checksums for 1.26.11. The golangci-lint, node and
    svu entries and mise.toml do not change, so make bump uses the same
    svu (updex/makefile_bump_svu_contract_test.go still passes). mise install
    verified the linux-x64 Go archive against the new checksum.

Verification

  • govulncheck v1.7.0 at go1.26.10 on main (b72be9f): GO-2026-6859, 37
    traces, exit 3.
  • govulncheck v1.7.0 at go1.26.11 on this branch: No vulnerabilities found.,
    exit 0 (3 module-level entries in required modules, not called; unchanged).

govulncheck reports GO-2026-6859 (net/http MaxBytesReader header race,
CVE-2026-97054) in the go1.26.10 standard library, reachable from
catalog.FetchConf, manifest and download through net/http. Go 1.26.11
fixes it.

Move the go.mod toolchain line and the mise.lock Go entry (checksums from
go.dev/dl) to 1.26.11, and the Go version that AGENTS.md and README.md
name. The go 1.26.6 minimum stays.
@github-actions github-actions Bot added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file level:L1 Read every line risk:high Touches a path in .github/risk-paths.json labels Nov 12, 2026
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Cross-review: Ready, Blocking: none (no findings).

  • Reviewer: openai/gpt-6.1-sol. Coder: anthropic/claude-opus-5-5.
  • Base b72be9fadafdf6469041baf0d554a998070563c0, head 643dc631036b8828e8c7445d84447c86711f6fee.
  • Checked: all 7 Go entries in mise.lock (URL to platform key, sha256 to the go.dev list; the musl entries map to the same archives); the golangci-lint, node and svu entries are unchanged, so updex/makefile_bump_svu_contract_test.go still holds; no 1.26.10 is left in the tracked tree; workflows read go-version-file: go.mod; the go 1.26.6 minimum, the requirements and the SDK source are unchanged.
  • Revert test: exempt (toolchain bump, no new behavior). Evidence: govulncheck v1.7.0 reports GO-2026-6859 at go1.26.10 on main (37 traces, exit 3), and No vulnerabilities found at go1.26.11 on this head (exit 0). CI Security Scan passes at this head.
  • Local make ci note: run it with umask 022. With umask 077, TestAcquireLockCreatesFileAndDirectory, TestRollbackFeature_RecordPathSafety/directory_and_file_modes and TestUnitsHookMatchesGenerator fail on file modes, on main too. This PR does not cause it.

@bketelsen
bketelsen added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit 2b2def7 Nov 12, 2026
22 checks passed
@bketelsen
bketelsen deleted the build/go1.26.11 branch November 12, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation level:L1 Read every line ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants