-
Notifications
You must be signed in to change notification settings - Fork 11
Upgrade Go to 1.26.3 #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🌐 Web query:
Go 1.26.4 release notes security fixes💡 Result:
Go version 1.26.4 was released on June 2, 2026 [1][2]. This minor point release included three specific security fixes [3][4]: mime: quadratic complexity in WordDecoder.DecodeHeader Decoding a maliciously crafted MIME header containing many invalid encoded-words could result in excessive CPU consumption [3][4]. The MIME decoder was updated to handle this scenario more effectively [3][4]. This is tracked as CVE-2026-42504 and Go issue 79217 [4][5]. net/textproto: arbitrary input inclusion in errors Functions in the net/textproto package were previously including raw input in error messages without escaping [3][4]. Because this input is often controlled by external parties (e.g., headers parsed by a net/http client), an attacker could inject arbitrary content, such as misleading information or terminal control bytes, into logs or output [3][4]. This is tracked as CVE-2026-42507 and Go issue 79346 [3][4]. crypto/x509: quadratic verification costs The (*x509.Certificate).VerifyHostname method previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries, resulting in strings.Split(host, ".") being executed repeatedly on the same hostname [3][4]. This caused verification costs to scale quadratically based on the number of SAN entries and the hostname's label count [3][4]. The implementation was updated to split the candidate hostname only once [3][4]. This is tracked as CVE-2026-27145 and Go issue 79694 [3][4]. Beyond these security fixes, the 1.26.4 release also included various bug fixes for the compiler, the runtime, the go fix command, and the crypto/fips140 package [6][7].
Citations:
Upgrade to Go 1.26.4 Go 1.26.4 includes security fixes in
crypto/x509,mime, andnet/textproto, so this bump should target 1.26.4 rather than 1.26.3.🤖 Prompt for AI Agents