[cherry-pick v20260424] fix(security): bump Go to 1.25.10 and golang.org/x/net to v0.55.0#8557
Closed
djsly wants to merge 1 commit into
Closed
Conversation
Backport the Go toolchain and golang.org/x/net security bump to official/v20260424 for IcM 796913379. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Backports the security remediation from #8551 onto official/v20260424 by upgrading the Go toolchain baseline and refreshing golang.org/x/net (and related x/* transitive deps) across the repo’s multiple Go modules, plus a small e2e formatting fix required by newer vet behavior.
Changes:
- Bump Go language/toolchain directive from
1.24.12→1.25.10across all repo Go modules. - Update
golang.org/x/nettov0.55.0(and refresh relatedgo.sumentries via tidy). - Fix an invalid
%wusage infmt.Sprintfwithine2e/config/config.goto keep vet/build clean under Go 1.25.
Reviewed changes
Copilot reviewed 15 out of 18 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
go.mod |
Updates Go directive to 1.25.10 and bumps golang.org/x/net/x/sys/x/text indirect versions. |
go.sum |
Refreshes sums to match the updated golang.org/x/* dependency set. |
e2e/go.mod |
Updates Go directive to 1.25.10 and bumps golang.org/x/net to v0.55.0 (plus related x/*). |
e2e/go.sum |
Refreshes e2e module sums for updated golang.org/x/* dependencies. |
e2e/config/config.go |
Replaces invalid fmt.Sprintf(...%w...) usage with %v to satisfy stricter vet behavior. |
aks-node-controller/go.mod |
Updates Go directive to 1.25.10 and reflects tidy results (including direct gopkg.in/yaml.v3). |
aks-node-controller/go.sum |
Refreshes sums to align with the updated dependency graph. |
vhdbuilder/prefetch/go.mod |
Updates module Go directive to 1.25.10. |
vhdbuilder/lister/go.mod |
Updates module Go directive to 1.25.10. |
image-fetcher/go.mod |
Updates module Go directive to 1.25.10. |
hack/tools/go.mod |
Updates module Go directive to 1.25.10. |
.github/workflows/check-coverage.yml |
Updates CI Go version to 1.25. |
.github/workflows/copilot-setup-steps.yml |
Updates CI Go version to 1.25. |
.github/workflows/go-test.yml |
Updates CI Go version to 1.25. |
.github/workflows/golangci-lint.yml |
Updates CI Go version to 1.25. |
.github/workflows/shellcheck.yml |
Updates CI Go version to 1.25. |
.github/workflows/shellspec.yaml |
Updates CI Go version to 1.25. |
.github/workflows/validate-components.yml |
Updates CI Go version to 1.25 for both jobs. |
Collaborator
Author
|
Closing in favor of #8570 (recreated from |
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.
Summary
Cherry-pick of #8551 to
official/vv20260424.Bumps the Go toolchain and
golang.org/x/netto address upstream CVEs:net/mail(stdlib)cmd/gopacksubcommand directory traversalcmd/go(stdlib)golang.org/x/netWhy bump to Go 1.25 (and not a 1.24.x patch)
Go 1.24 reached EOL in February 2026 and does NOT receive security backports.
go1.25.10is the only release stream that contains these fixes.golang.org/x/net v0.51.0+also requiresgo 1.25.0in its owngo.mod, so the Go bump is required regardless.Verification
go mod tidysucceeds for every module in the branch.go build ./...clean across every module.go 1.25runners.Release plan
Once merged, two tags are pushed off the resulting commit:
v0.v20260424.<N+1>(AgentBaker module)aks-node-controller/v0.v20260424.<N+1>(aks-node-controller submodule)🤖 Generated with GitHub Copilot CLI