Skip to content

Update Go to 1.26.5 to fix CVE-2026-39822 and CVE-2026-42505 - #610

Open
redhat-chai-bot wants to merge 1 commit into
openshift:masterfrom
redhat-chai-bot:fix/go-1.26.5-cve-remediation
Open

Update Go to 1.26.5 to fix CVE-2026-39822 and CVE-2026-42505#610
redhat-chai-bot wants to merge 1 commit into
openshift:masterfrom
redhat-chai-bot:fix/go-1.26.5-cve-remediation

Conversation

@redhat-chai-bot

@redhat-chai-bot redhat-chai-bot commented Aug 6, 2026

Copy link
Copy Markdown

Summary

Update Go version from 1.26.0 to 1.26.5 in go.mod to remediate two stdlib CVEs identified in ROSAENG-63302.

CVEs Fixed

  • CVE-2026-39822 (Important, CVSS 8.1) — Go stdlib, fixed in Go 1.26.5
  • CVE-2026-42505 (Moderate, CVSS 5.3) — Go stdlib, fixed in Go 1.26.5

Changes

  • Updated go.mod Go version directive: go 1.26.0go 1.26.5
  • Ran go mod tidy (no dependency changes required)

Testing

  • make vet — passed
  • make test — all 27 test packages passed

Notes

This PR addresses only the Go stdlib CVEs. The remaining CVEs in ROSAENG-63302 are in base-image RPM packages and require a base image update through boilerplate.

References


AI-generated. Review for accuracy.

@samanthajayasinghe requested in Slack thread

Summary by CodeRabbit

  • Chores
    • Updated the application’s Go language version to 1.26.5.

Bump the Go directive in go.mod from 1.26.0 to 1.26.5 to address:
- CVE-2026-39822 (Important, CVSS 8.1) - Go stdlib vulnerability
- CVE-2026-42505 (Moderate, CVSS 5.3) - Go stdlib vulnerability

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: redhat-chai-bot
Once this PR has been reviewed and has the lgtm label, please assign xiaoyu74 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: c0d08eea-5ebb-4da1-b95b-9a646def839f

📥 Commits

Reviewing files that changed from the base of the PR and between 838afc9 and df823f2.

📒 Files selected for processing (1)
  • go.mod

Walkthrough

The module’s declared Go version changes from 1.26.0 to 1.26.5.

Changes

Go version update

Layer / File(s) Summary
Update module Go version
go.mod
The module requirement changes from Go 1.26.0 to Go 1.26.5.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related issues

  • openshift/rosa#3350: The updated Go version aligns with the issue’s Go toolchain upgrade objective. This change does not modify .snyk ignores.
🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely identifies the Go version update and the two CVEs addressed by the change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The commit changes only go.mod. It adds no test files or Ginkgo test titles, so this check is not applicable.
Test Structure And Quality ✅ Passed The PR changes only the go.mod Go directive; no Ginkgo test code, fixtures, waits, or assertions changed, so this test-structure check is not applicable.
Microshift Test Compatibility ✅ Passed The pull request changes only the Go version directive in go.mod; it adds or changes no Ginkgo e2e tests, so MicroShift compatibility checks do not apply.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The commit changes only the go.mod Go directive; it adds no Ginkgo e2e tests or other test code requiring SNO compatibility review.
Topology-Aware Scheduling Compatibility ✅ Passed The pull request changes only the go.mod Go version directive; it adds no deployment manifests, operator code, controllers, or scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The PR changes only go.mod; the repository has no openshift-tests OTE binary, and the osde2e RunSpecs setup has no direct process-level stdout write.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The pull request changes only go.mod; it adds no Ginkgo e2e tests or networking and external-connectivity behavior to assess.
No-Weak-Crypto ✅ Passed The commit changes only go.mod; tracked-source searches found no MD5, SHA1, DES, 3DES, RC4, Blowfish, ECB, custom crypto, or secret comparison APIs. Only TLS/x509 are used.
Container-Privileges ✅ Passed The PR changes only go.mod. The diff adds no privilege settings, and the manifest scan found no forbidden true values or SYS_ADMIN capability.
No-Sensitive-Data-In-Logs ✅ Passed The PR changes only go.mod and replaces go 1.26.0 with go 1.26.5; it adds no logging code or sensitive data to logs.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant