Upgrade Go to 1.26.2 to fix crypto/x509 CVE#722
Merged
michaeljguarino merged 1 commit intomainfrom Apr 11, 2026
Merged
Conversation
This commit upgrades the Go version from 1.26.1 to 1.26.2 to address the crypto/x509 vulnerability (CVE affecting certificate chain validation). The vulnerability causes denial of service via inefficient certificate chain validation when certificates contain a very large number of policy mappings. Changes: - Updated go.mod: go directive from 1.26.1 to 1.26.2 - Updated Dockerfile: golang base images from 1.26.1-alpine3.22 to 1.26.2-alpine3.22 Testing: - go mod tidy: completed successfully with no dependency changes - go build: binary compiled successfully (117MB) - go test: all unit tests passed - docker build: image built successfully (749MB) and tested Fix Version: 1.26.2 Previous Version: 1.26.1 Package: stdlib
Contributor
Author
There was a problem hiding this comment.
This PR was generated by the claude (engine: claude) agent runtime. Here's some useful information you might want to know to evaluate
the ai's perfomance:
| Name | Details |
|---|---|
| 💬 Prompt | Security scanners have found the following vulnerability in our cluster:... |
| 🔗 Run history | View run history |
michaeljguarino
approved these changes
Apr 11, 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
This PR upgrades the Go version from 1.26.1 to 1.26.2 to address a critical security vulnerability in the crypto/x509 package.
Vulnerability Details:
Changes Made:
go.mod: Go directive from1.26.1to1.26.2Dockerfile: Both golang base images fromgolang:1.26.1-alpine3.22togolang:1.26.2-alpine3.22Testing
All tests and builds completed successfully:
✅ go mod tidy: Completed with no dependency changes (go.sum unchanged)
✅ Build: CLI binary compiled successfully (117MB)
✅ Unit tests: All tests passed with no regressions
✅ Docker build: Image built successfully (749MB) and tested
Test command outputs:
Impact
This is a minimal, security-focused upgrade with no functional changes to the codebase.