[cherry-pick v20260107] fix(security): bump Go to 1.25.10 and golang.org/x/net to v0.55.0#8573
Open
djsly wants to merge 1 commit into
Open
[cherry-pick v20260107] fix(security): bump Go to 1.25.10 and golang.org/x/net to v0.55.0#8573djsly wants to merge 1 commit into
djsly wants to merge 1 commit into
Conversation
Backport the Go 1.25.10 and golang.org/x/net v0.55.0 CVE fix from #8551 to official/v20260107. IcM 796913379. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Closed
3 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Updates AgentBaker’s Go toolchain and key Go dependencies on official/vv20260107 to pick up upstream security fixes, and aligns CI workflows to use the new Go minor version.
Changes:
- Bump all Go modules’
godirective to1.25.10. - Bump
golang.org/x/net(and relatedx/*transitive deps via tidy) in the main modules (/,e2e/,aks-node-controller/). - Update GitHub Actions workflows to use Go
1.25.
Reviewed changes
Copilot reviewed 12 out of 15 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Bump root module Go version and golang.org/x/net/x/* indirect deps. |
| go.sum | Update checksums to reflect the x/net (and related) upgrades. |
| e2e/go.mod | Bump Go version and update x/crypto + x/* indirect deps for e2e module. |
| e2e/go.sum | Update e2e dependency checksums for the upgraded x/* deps. |
| aks-node-controller/go.mod | Bump Go version and refresh x/sys indirect dependency. |
| aks-node-controller/go.sum | Update checksums to match upgraded x/* dependencies. |
| vhdbuilder/lister/go.mod | Bump Go version (note: still pins older indirect x/* versions). |
| vhdbuilder/prefetch/go.mod | Bump Go version for the prefetch module. |
| hack/tools/go.mod | Bump Go version for tooling module (note: tooling graph still appears to pull older x/net). |
| .github/workflows/check-coverage.yml | CI: use Go 1.25. |
| .github/workflows/go-test.yml | CI: use Go 1.25. |
| .github/workflows/golangci-lint.yml | CI: use Go 1.25. |
| .github/workflows/shellcheck.yml | CI: use Go 1.25. |
| .github/workflows/shellspec.yaml | CI: use Go 1.25. |
| .github/workflows/validate-components.yml | CI: use Go 1.25. |
Comment on lines
1
to
4
| module github.com/Azure/agentbaker/vhdbuilder/lister | ||
|
|
||
| go 1.23.0 | ||
|
|
||
| toolchain go1.24.1 | ||
| go 1.25.10 | ||
|
|
Comment on lines
1
to
4
| module github.com/Azure/agentbaker/hack/tools | ||
|
|
||
| go 1.21.13 | ||
| go 1.25.10 | ||
|
|
Devinwong
approved these changes
May 22, 2026
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/vv20260107.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.v20260107.<N+1>(AgentBaker module)aks-node-controller/v0.v20260107.<N+1>(aks-node-controller submodule)🤖 Generated with GitHub Copilot CLI