Skip to content

chore: bump to go1.26.2#13116

Merged
BagToad merged 1 commit intotrunkfrom
babakks/bump-to-go1.26.2
Apr 8, 2026
Merged

chore: bump to go1.26.2#13116
BagToad merged 1 commit intotrunkfrom
babakks/bump-to-go1.26.2

Conversation

@babakks
Copy link
Copy Markdown
Member

@babakks babakks commented Apr 8, 2026

This PR bumps Go version to 1.26.2 to resolve the following vulnerabilities reported by govulncheck:

Details

$ govulncheck -show verbose -mode binary $(which gh)
...
Vulnerability #1: GO-2026-4947
    Unexpected work during chain building in crypto/x509
  More info: https://pkg.go.dev/vuln/GO-2026-4947
  Standard library
    Found in: crypto/x509@go1.26.1
    Fixed in: crypto/x509@go1.26.2
    Vulnerable symbols found:
      #1: x509.Certificate.Verify
      #2: x509.Certificate.Verify
      #3: x509.Certificate.Verify

Vulnerability #2: GO-2026-4946
    Inefficient policy validation in crypto/x509
  More info: https://pkg.go.dev/vuln/GO-2026-4946
  Standard library
    Found in: crypto/x509@go1.26.1
    Fixed in: crypto/x509@go1.26.2
    Vulnerable symbols found:
      #1: x509.Certificate.Verify
      #2: x509.Certificate.Verify
      #3: x509.Certificate.Verify

Vulnerability #3: GO-2026-4870
    Unauthenticated TLS 1.3 KeyUpdate record can cause persistent connection
    retention and DoS in crypto/tls
  More info: https://pkg.go.dev/vuln/GO-2026-4870
  Standard library
    Found in: crypto/tls@go1.26.1
    Fixed in: crypto/tls@go1.26.2
    Vulnerable symbols found:
      #1: tls.Conn.Handshake
      #2: tls.Conn.HandshakeContext
      #3: tls.Conn.Read
      #4: tls.Conn.Write
      #5: tls.Dial
      Use '-show traces' to see the other 5 found symbols

Vulnerability #4: GO-2026-4869
    Unbounded allocation for old GNU sparse in archive/tar
  More info: https://pkg.go.dev/vuln/GO-2026-4869
  Standard library
    Found in: archive/tar@go1.26.1
    Fixed in: archive/tar@go1.26.2
    Vulnerable symbols found:
      #1: tar.Reader.Next

Vulnerability #5: GO-2026-4866
    Case-sensitive excludedSubtrees name constraints cause Auth Bypass in
    crypto/x509
  More info: https://pkg.go.dev/vuln/GO-2026-4866
  Standard library
    Found in: crypto/x509@go1.26.1
    Fixed in: crypto/x509@go1.26.2
    Vulnerable symbols found:
      #1: x509.Certificate.Verify
      #2: x509.Certificate.Verify
      #3: x509.Certificate.Verify

Vulnerability #6: GO-2026-4865
    JsBraceDepth Context Tracking Bugs (XSS) in html/template
  More info: https://pkg.go.dev/vuln/GO-2026-4865
  Standard library
    Found in: html/template@go1.26.1
    Fixed in: html/template@go1.26.2
    Vulnerable symbols found:
      #1: template.Error.Error
      #2: template.HTMLEscaper
      #3: template.JSEscape
      #4: template.JSEscapeString
      #5: template.JSEscaper
      Use '-show traces' to see the other 15 found symbols

Vulnerability #7: GO-2026-4864
    TOCTOU permits root escape on Linux via Root.Chmod in os in
    internal/syscall/unix
  More info: https://pkg.go.dev/vuln/GO-2026-4864
  Standard library
    Found in: internal/syscall/unix@go1.26.1
    Fixed in: internal/syscall/unix@go1.26.2
    Platforms: linux
    Vulnerable symbols found:
      #1: unix.Fchmodat

@babakks babakks requested a review from a team as a code owner April 8, 2026 10:58
@babakks babakks requested review from BagToad and Copilot April 8, 2026 10:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps the repository’s Go version to 1.26.2 to pick up standard-library security fixes flagged by govulncheck.

Changes:

  • Update the go version in go.mod from 1.26.1 to 1.26.2.
Show a summary per file
File Description
go.mod Updates the Go version directive to 1.26.2 to address reported stdlib vulnerabilities.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Signed-off-by: Babak K. Shandiz <babakks@github.com>
@babakks babakks force-pushed the babakks/bump-to-go1.26.2 branch from 9dbaf66 to e592733 Compare April 8, 2026 11:58
@BagToad BagToad merged commit 51d3b99 into trunk Apr 8, 2026
11 checks passed
@BagToad BagToad deleted the babakks/bump-to-go1.26.2 branch April 8, 2026 17:32
@babakks babakks mentioned this pull request Apr 9, 2026
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.

3 participants