Skip to content

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

Closed

Description

@yvonnedevlinrh

Problem

Build and Test fails on every PR, including PR #161 (chore(deps): bump both fullsend workflow pins to v0.54.0) and PR #157 (chore(deps): bump both org-infra reviewer pins to v0.9.0), and will fail on main on the next push. The failure is unrelated to either PR's changes and is not caused by the rebase.

Failing step: Govulncheck in .github/workflows/ci.yml (exit code 3).

Vulnerability reported:

Vulnerability #1: GO-2026-6859
    HTTP/1 server crash due to MaxBytesReader header race in net/http
  More info: https://pkg.go.dev/vuln/GO-2026-6859
  Standard library
    Found in: net/[email protected]
    Fixed in: net/[email protected]

Root cause

go.mod declares go 1.26.10 (go.mod:3), and CI sets up Go from that file:

- uses: actions/setup-go@...   # v7.0.0
  with:
    go-version-file: go.mod
    cache: false

The workflow also sets GOTOOLCHAIN=local, so CI compiles against the exact 1.26.10 standard library. The vulnerability database added GO-2026-6859 on 2026-11-11; main passed its last CI run on 2026-11-10, so this is a new scanner finding, not a code regression.

Fix

Bump the Go directive in go.mod to go 1.26.11. No toolchain directive is present, and CI derives its Go version from go.mod, so this single change makes CI install and scan go1.26.11.

go 1.26.11

Verification

Evidence

Out of scope

PR #161 and PR #157 themselves need no changes for this. Their merge only requires the toolchain bump to land first (or be included).

Activity

  1. added
    bug
    on Nov 11, 2026
  2. yvonnedevlinrh commented on Nov 11, 2026

    @yvonnedevlinrh
    ContributorAuthor

    Triage: VALID — bug

    The failure is a genuine repository CI defect: a newly published Go standard-library advisory fails the pinned govulncheck step. It is not a regression from PR #161 or #157.

    Verified against the checked-out tree

    • go.mod:3 declares go 1.26.10; no toolchain directive is present.
    • .github/workflows/ci.yml:32-35 sets up Go with actions/setup-go v7.0.0, go-version-file: go.mod, cache: false. CI installs exactly the version declared in go.mod.
    • .github/workflows/ci.yml:40-43 installs govulncheck v1.5.0 and runs govulncheck ./... inside Build and Test.
    • Local go version is 1.26.10, matching go.mod and CI, so the finding reproduces under the repository toolchain. This is a defect to fix, not an environment discrepancy to dismiss.
    • Precedent openspec/changes/fix-go-toolchain-vulnerabilities (issue chore: update Go toolchain for reachable standard-library vulnerabilities #131) raised the go directive 1.25.13 → 1.26.9 for the same class of finding, and its spec treats the declared version as a minimum that permits later patch releases.

    Correction: GOTOOLCHAIN claim

    The issue states the workflow sets GOTOOLCHAIN=local. No GOTOOLCHAIN assignment exists in any workflow or config file. The conclusion still holds: with no toolchain directive, setup-go installs the exact go version from go.mod, so CI compiles against the vulnerable 1.26.10 standard library regardless of GOTOOLCHAIN.

    Implementation scope

    Raising the go directive to 1.26.11 clears the finding. Per AGENTS.md and the #131 precedent, the change is incomplete if it only edits go.mod:

    • OpenSpec change (spec-first requirement for CI and config changes)
    • README Go badge and source-build prerequisite
    • CONTRIBUTING.md prerequisite
    • AGENTS.md toolchain and active-technology lines
    • CHANGELOG Unreleased → Security entry
    • a unbound-force/website issue, since the Go prerequisite appears in public install docs

    Patch bumps inside the documented "1.26.9 or later" range may not require the documentation edits; confirm against the spec before deciding.

    Verification

    This triage was performed by the Divisor review panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions