[cherry-pick: release-v0.80.x] Security: Fix CVE-2026-27145 and CVE-2026-42504 (Go stdlib upgrade 1.25.11 → 1.26.4)#3690
Merged
tekton-robot merged 2 commits intoJul 10, 2026
Conversation
Upgrade stdlib from 1.25.11 to 1.26.4 to address CVE-2026-27145. Jira: SRVKP-12754 SRVKP-12753 SRVKP-12762 govulncheck scan: GOTOOLCHAIN=go1.26.3 govulncheck@v1.5.0 Test result: passed Co-Assisted-By: CVE Fixer Bot <cve-fixer@redhat.com>
v2.7.2 was built with Go 1.25 and rejects modules targeting Go 1.26+. v2.12.2 is built with Go 1.26.2, which satisfies the go 1.26.4 directive in go.mod. Signed-off-by: Jawed khelil <jkhelil@redhat.com> Assisted-by: Claude Sonnet 4.6 (via Cursor) Co-authored-by: Cursor <cursoragent@cursor.com>
3 tasks
Contributor
|
/lgtm |
Contributor
|
/approve |
Contributor
Author
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: anithapriyanatarajan The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
This is a cherry-pick of #3685
Summary
This PR fixes CVE-2026-27145 (GO-2026-5037) and CVE-2026-42504 (GO-2026-5038) by upgrading the Go toolchain directive in `go.mod` from `go 1.25.11` to `go 1.26.4`.
CVE Details
Context: The ACS/GovCloud image scan flagged these because the container image binary was compiled with a Go version before the patch. Bumping the
godirective ensures the next image build uses a patched toolchain.Fix Summary
go.mod:go 1.25.11→go 1.26.4go mod tidy && go mod verify && go mod vendor— all passedTest Results
Status: ✅ All tests passed
Summary: 39 packages passed —
pkg/reconciler/...andpkg/apis/operator/...all OKJira Issues
SRVKP-12754, SRVKP-12753, SRVKP-12762
Verification Steps
go.modshowsgo 1.26.3Risk Assessment
Low — Go toolchain bump within same major minor series. No API changes. All unit tests pass.
🤖 Generated by CVE Fixer Workflow