chore(deps): update golang to 1.26.6 and x/net, x/text [security] - #47
Merged
Merged
Conversation
Rebuild kubectl with Go 1.26.6 and bump golang.org/x/net to v0.56.0 and golang.org/x/text to v0.39.0 to clear the vulnerabilities Trivy flags on the alauda-kubectl binary shipped in v1.33.8-alauda-18. Go stdlib (fixed in 1.26.6): CVE-2026-33818, CVE-2026-39821, CVE-2026-46600, CVE-2026-56853, CVE-2026-56858, CVE-2026-56859, CVE-2026-56860, CVE-2026-56862 golang.org/x/net v0.55.0 -> v0.56.0: CVE-2026-46600 golang.org/x/text v0.37.0 -> v0.39.0: CVE-2026-56852 x/sys, x/sync, x/term and x/tools move with them as transitive requirements of the pinned versions. Vendor tree regenerated with hack/update-vendor.sh; no source changes. Verified: `go build ./cmd/kubectl` with GOOS=linux GOARCH=amd64 produces a go1.26.6 binary that `trivy rootfs --severity MEDIUM,HIGH,CRITICAL` reports as clean (83 packages, 0 vulnerabilities). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MTqNN7RSb7Jh9VjNx3VP7C
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
Trivy flags 10 vulnerabilities on the
alauda-kubectlbinary shipped inv1.33.8-alauda-18(built with Go 1.26.5). Downstream images that bundle it —e.g.
devops/sre-agent— now fail their CI image-scan gate, and there is nonewer release to bump to.
What changed
.go-version,go.mod,go.work: Go 1.26.5 → 1.26.6. The release workflowreads
go-version-file: go.mod, so this is what re-builds the binary.golang.org/x/netandgolang.org/x/textpinned viahack/pin-dependency.sh,vendor tree regenerated with
hack/update-vendor.sh.x/sys,x/sync,x/term,x/toolsmove with them as transitiverequirements of the pinned versions.
Verification
Only the
linux/amd64build was verified locally;linux/arm64is deps-identicaland left to CI.
Please cut a
v1.33.8-alauda-19release once merged so downstream consumers can bump.🤖 Generated with Claude Code
https://claude.ai/code/session_01MTqNN7RSb7Jh9VjNx3VP7C