fix(security): upgrade Go from 1.25.11 to 1.26.4 to fix 23 stdlib CVEs#2788
Merged
theakshaypant merged 1 commit intoJun 18, 2026
Merged
Conversation
|
|
There was a problem hiding this comment.
Code Review
This pull request updates the Go version in the go.mod file from 1.25.11 to 1.26.4. There are no review comments, and I have no additional feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Addresses Go stdlib vulnerabilities that require upgrading the compiler toolchain from Go 1.25.11 to Go 1.26.4. CVEs fixed: - CVE-2026-27137 (GO-2026-4599): Incorrect email constraints in crypto/x509 - CVE-2026-27138 (GO-2026-4600): Panic in name constraint checking in crypto/x509 - CVE-2026-25679 (GO-2026-4601): Incorrect IPv6 host literal parsing in net/url - CVE-2026-27139 (GO-2026-4602): FileInfo escape from Root in os - CVE-2026-27142 (GO-2026-4603): Unescaped URLs in meta content in html/template - CVE-2026-32282 (GO-2026-4864): TOCTOU root escape via Root.Chmod in os - CVE-2026-32289 (GO-2026-4865): XSS via JsBraceDepth tracking bug in html/template - CVE-2026-33810 (GO-2026-4866): Auth bypass via case-sensitive name constraints in crypto/x509 - CVE-2026-32288 (GO-2026-4869): Unbounded allocation for GNU sparse in archive/tar - CVE-2026-32283 (GO-2026-4870): Connection retention via unauthenticated TLS 1.3 KeyUpdate - CVE-2026-32281 (GO-2026-4946): Inefficient policy validation in crypto/x509 - CVE-2026-32280 (GO-2026-4947): Unexpected work during chain building in crypto/x509 - CVE-2026-33814 (GO-2026-4918): Infinite loop in HTTP/2 transport in net/http - CVE-2026-39836 (GO-2026-4971): Panic in Dial/LookupPort with NUL byte in net - CVE-2026-39825 (GO-2026-4976): ReverseProxy forwards excess URL params in net - CVE-2026-42499 (GO-2026-4977): Quadratic string concat in net/mail - CVE-2026-39826 (GO-2026-4980): XSS via escaper bypass in html/template - CVE-2026-33811 (GO-2026-4981): Crash on long CNAME response in net - CVE-2026-39823 (GO-2026-4982): XSS via meta content URL escaping bypass in html/template - CVE-2026-39820 (GO-2026-4986): Quadratic concat in consumeComment in net/mail - CVE-2026-27145 (GO-2026-5037): Inefficient hostname parsing in crypto/x509 - CVE-2026-42504 (GO-2026-5038): Quadratic complexity in mime.WordDecoder - CVE-2026-42507 (GO-2026-5039): Unescaped inputs in errors in net/textproto go 1.25.11 is the latest patch in the 1.25.x series — these fixes require Go 1.26.x. No dependency changes: go.sum unchanged, go mod verify passes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Akshay Pant <akpant@redhat.com>
e78b7c7 to
268c96d
Compare
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.
📝 Description of the Change
Upgrades the Go toolchain from 1.25.11 → 1.26.4 to address 23 Go standard library CVEs.
go 1.25.11is the latest patch release in the 1.25.x series — these vulnerabilities require Go 1.26.x and cannot be backported to 1.25.x.Changes:
go.mod(go 1.25.11→go 1.26.4). No dependency version changes;go.sumis unchanged.CVEs Fixed (23 total)
How this change was made
go 1.25.11→go 1.26.4ingo.modGOTOOLCHAIN=go1.26.4 go mod tidy— no dependency changesGOTOOLCHAIN=go1.26.4 go mod verify— all modules verifiedGOTOOLCHAIN=go1.26.4 go build ./...— successGOTOOLCHAIN=go1.26.4 go test ./pkg/...— all tests passCommits
e78b7c7fix(security): upgrade Go from 1.25.11 to 1.26.4 to fix 23 stdlib CVEs👨🏻 Linked Jira
N/A — CVEs discovered via Go vulnerability database (vuln.go.dev) direct check.
🔗 Linked GitHub Issue
N/A
🧪 Testing Strategy
go test ./pkg/...— all passed)go build ./...— success)go mod verify— all modules verified🤖 AI Assistance
This PR was created by the Ambient CVE Fixer workflow (Claude Sonnet 4.6).
CVEs were identified by querying the Go vulnerability database (vuln.go.dev) directly.