From 9ebca99cd22c078d8e81d0d05cdd68cbf1954f20 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 8 Jul 2026 15:00:33 +0100 Subject: [PATCH] build: fix multiple CVEs by upgrading to go1.26.5 - CVE-2026-39822: os: Root escape via symlink plus trailing slash - CVE-2026-42505: crypto/tls: Encrypted Client Hello privacy leak (cherry picked from commit e753736df661d8c032f86ff5d2d6e3ab45e86837) --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d714242c..4b3e21c80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: include: - job_name: linux os: ubuntu-latest - go: '~1.26.4' + go: '~1.26.5' gotags: cmount build_flags: '-include "^linux/"' check: true @@ -48,14 +48,14 @@ jobs: - job_name: linux_386 os: ubuntu-latest - go: '~1.26.4' + go: '~1.26.5' goarch: 386 gotags: cmount quicktest: true - job_name: mac_amd64 os: macos-latest - go: '~1.26.4' + go: '~1.26.5' gotags: 'cmount' build_flags: '-include "^darwin/amd64" -cgo' quicktest: true @@ -64,14 +64,14 @@ jobs: - job_name: mac_arm64 os: macos-latest - go: '~1.26.4' + go: '~1.26.5' gotags: 'cmount' build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib' deploy: true - job_name: windows os: windows-latest - go: '~1.26.4' + go: '~1.26.5' gotags: cmount cgo: '0' build_flags: '-include "^windows/"' @@ -81,14 +81,14 @@ jobs: - job_name: other_os os: ubuntu-latest - go: '~1.26.4' + go: '~1.26.5' build_flags: '-exclude "^(windows/|darwin/|linux/)"' compile_all: true deploy: true - job_name: go1.25 os: ubuntu-latest - go: '~1.25.7' + go: '~1.25.12' quicktest: true racequicktest: true @@ -278,7 +278,7 @@ jobs: id: setup-go uses: actions/setup-go@v6 with: - go-version: '~1.26.4' + go-version: '~1.26.5' check-latest: true cache: false @@ -393,7 +393,7 @@ jobs: id: setup-go uses: actions/setup-go@v6 with: - go-version: '~1.26.4' + go-version: '~1.26.5' # Caching is handled explicitly below to share the module cache # with the other jobs - see the build job for the rationale. cache: false