Skip to content

fix: update Go toolchain to 1.26.10 for GO-2026-6809 - #142

Merged
yvonnedevlinrh merged 1 commit into
mainfrom
fix/pr-138-build-and-test
Oct 21, 2026
Merged

yvonnedevlinrh merged 1 commit into
mainfrom
fix/pr-138-build-and-test

Conversation

@yvonnedevlinrh

Copy link
Copy Markdown
Contributor

Summary

govulncheck started failing Build and Test on main after advisory GO-2026-6809 (Distrust compromised intermediate certificates in crypto/x509) was published to the vulnerability
database. The vulnerable stdlib code is reachable under the go1.26.9 toolchain pinned in go.mod; the fix ships in go1.26.10.

Bumps the go directive from 1.26.9 to 1.26.10. CI resolves the toolchain from go.mod (go-version-file: go.mod), so no workflow change is needed.

Failure

Vulnerability #1: GO-2026-6809
    Distrust compromised intermediate certificates in crypto/x509
  Standard library
    Found in: crypto/x509@go1.26.9
    Fixed in: crypto/x509@go1.26.10
    #1: internal/stats/stats.go:79:29: stats.Run calls io.WriteString,
       which eventually calls x509.Certificate.Verify

First observed failing on main
(run 39608867872).
It surfaced during a rebase of PR #138, but the failure is pre-existing on the base branch and unrelated to that PR's change.

Precedent: #131 (same pattern: reachable stdlib vulnerability, fixed by a toolchain bump).

Verification

  • govulncheck at the same pinned commit CI uses (golang.org/x/vuln/cmd/govulncheck@3e6f44f): No vulnerabilities found under go1.26.10
  • go build ./... and go vet ./... pass under go1.26.10

Follow-up

After merge, rebase PR #138 so its Build and Test check runs on go1.26.10 and goes green.

@yvonnedevlinrh
yvonnedevlinrh requested a review from a team as a code owner October 21, 2026 14:40
govulncheck failed on main after advisory GO-2026-6809 (Distrust
compromised intermediate certificates in crypto/x509) was published.
The vulnerable stdlib code is reachable under the go1.26.9 toolchain
pinned in go.mod; the fix ships in go1.26.10.

Bumps the go directive from 1.26.9 to 1.26.10. CI picks the
toolchain from go.mod via go-version-file, so no workflow change
is needed. Verified locally: govulncheck at the same pinned commit
CI uses reports no vulnerabilities, and go build/vet pass under
go1.26.10. Follows the precedent of #131.

This failure was pre-existing on main and unrelated to PR #138.

Assisted-by: Qwen3.8-27B-FP8
Signed-off-by: Yvonne Devlin <ydevlin@redhat.com>
@yvonnedevlinrh
yvonnedevlinrh force-pushed the fix/pr-138-build-and-test branch from 9321a5a to 2f93c95 Compare October 21, 2026 14:45
@yvonnedevlinrh yvonnedevlinrh self-assigned this Oct 21, 2026
@yvonnedevlinrh
yvonnedevlinrh merged commit d1b888f into main Oct 21, 2026
6 checks passed
@yvonnedevlinrh
yvonnedevlinrh deleted the fix/pr-138-build-and-test branch October 21, 2026 14:49
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.

2 participants