This repository was archived by the owner on Aug 19, 2026. It is now read-only.
fix(deps): bump go to 1.26.6 for stdlib CVEs - #18
Merged
Merged
Conversation
CI pins the toolchain via go-version-file: go.mod, so the vuln job built with go1.26.5 and govulncheck flagged four called stdlib vulnerabilities: - GO-2026-6089 net/url - GO-2026-6090 crypto/tls - GO-2026-5972 encoding/asn1 - GO-2026-5026 net/http (x/net/idna) All four are fixed in go1.26.6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bump the
godirective ingo.modfrom1.26.5to1.26.6.Why
The
vulnjob is failing on every PR (e.g. #17) and would fail onmaintoo. It is not caused by any dependency change — CI installs the toolchain withgo-version-file: go.mod, which pins the build to go1.26.5. govulncheck reports four called standard-library vulnerabilities at that patch level:net/urlcrypto/tlsencoding/asn1net/http(x/net/idna)All four are fixed in go1.26.6, so bumping the directive is enough — no code change.
Verification
Locally with
GOTOOLCHAIN=go1.26.6:go build ./...— okgo test -race -count=1 ./...— okgovulncheck ./...—No vulnerabilities found.After this merges, #17 needs a
@dependabot rebaseto pick it up.