Skip to content

fix: build with Go 1.26.9 and x/net v0.60.0 to clear new vulnerabilities - #106

Merged
eshaffer321 merged 1 commit into
mainfrom
fix/go-1.26.9-vulns
Oct 14, 2026
Merged

eshaffer321 merged 1 commit into
mainfrom
fix/go-1.26.9-vulns

Conversation

@eshaffer321

Copy link
Copy Markdown
Owner

Problem

govulncheck now fails CI with seven reachable vulnerabilities published after main's last green run: GO-2026-6607, -6608, -6610, -6611, -6612, -6613, and -6617 in net/http, mime/multipart, crypto/tls, and golang.org/x/net v0.58.0. Go 1.25 received no patch. This blocks #105.

Fix

  • Go 1.25.13 → 1.26.9 in go.mod, CI, and the release workflow
  • golang.org/x/net v0.58.0 → v0.60.0
  • golangci-lint v2.4.0 → v2.14.0, because v2.4.0 binaries refuse to lint a Go 1.26 module
  • Two staticcheck QF1012 fixes flagged by the newer linter (fmt.Fprintf into the prompt builders)

Testing

With Go 1.26.9: govulncheck ./... reports no vulnerabilities, go test -race ./... passes, and golangci-lint v2.14.0 reports 0 issues.

govulncheck reports seven reachable net/http, crypto/tls, mime/multipart,
and x/net vulnerabilities fixed only in Go 1.26.9 and x/net v0.60.0. Raise
golangci-lint to v2.14.0, which supports Go 1.26.
@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.48%. Comparing base (d11ad72) to head (7e55b8c).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #106   +/-   ##
=======================================
  Coverage   65.48%   65.48%           
=======================================
  Files          51       51           
  Lines        7038     7038           
=======================================
  Hits         4609     4609           
  Misses       2087     2087           
  Partials      342      342           
Flag Coverage Δ
unittests 65.48% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
internal/domain/categorizer/categorizer.go 87.91% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@eshaffer321
eshaffer321 merged commit 9b61da0 into main Oct 14, 2026
14 checks passed
@eshaffer321
eshaffer321 deleted the fix/go-1.26.9-vulns branch October 14, 2026 11:53
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.

1 participant