Skip to content
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
kanywst merged 1 commit into
mainfrom
fix/go-1.26.6
Aug 17, 2026
Merged

fix(deps): bump go to 1.26.6 for stdlib CVEs#18
kanywst merged 1 commit into
mainfrom
fix/go-1.26.6

Conversation

@kanywst

@kanywst kanywst commented Aug 17, 2026

Copy link
Copy Markdown
Member

What

Bump the go directive in go.mod from 1.26.5 to 1.26.6.

Why

The vuln job is failing on every PR (e.g. #17) and would fail on main too. It is not caused by any dependency change — CI installs the toolchain with go-version-file: go.mod, which pins the build to go1.26.5. govulncheck reports four called standard-library vulnerabilities at that patch level:

ID Package Fixed in
GO-2026-6089 net/url go1.26.6
GO-2026-6090 crypto/tls go1.26.6
GO-2026-5972 encoding/asn1 go1.26.6
GO-2026-5026 net/http (x/net/idna) go1.26.6

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 ./... — ok
  • go test -race -count=1 ./... — ok
  • govulncheck ./...No vulnerabilities found.

After this merges, #17 needs a @dependabot rebase to pick it up.

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.
@kanywst
kanywst merged commit 5d34930 into main Aug 17, 2026
5 checks passed
@kanywst
kanywst deleted the fix/go-1.26.6 branch August 17, 2026 17:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant