Skip to content

Upgrade to Go 1.26.5 - #7188

Merged
sorindumitru merged 2 commits into
spiffe:mainfrom
gareth-exhale:upgrade-go-1.26.5
Aug 5, 2026
Merged

sorindumitru merged 2 commits into
spiffe:mainfrom
gareth-exhale:upgrade-go-1.26.5

Conversation

@gareth-exhale

Copy link
Copy Markdown
Contributor

Bumps the Go toolchain from 1.26.4 to 1.26.5 — .go-version and the go directive in go.mod — following the pattern of #7069.

Go 1.26.5 / 1.25.12 (released 2026-07-07) fixed CVE-2026-39822, the os.Root symlink-following path-traversal issue in the standard library. The v1.15.2 release binaries are built with Go 1.26.4 (go version -m on /opt/spire/bin/spire-server in ghcr.io/spiffe/spire-server:1.15.2), so image scanners (Trivy and friends) flag the published images for it and downstream users with scan gates are carrying time-boxed suppressions in the meantime.

As offered in #7180.

Signed-off-by: Gareth Williams <[email protected]>
sorindumitru
sorindumitru previously approved these changes Aug 4, 2026

@sorindumitru sorindumitru left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks @gareth-exhale!

@sorindumitru sorindumitru added this to the 1.15.3 milestone Aug 4, 2026
@sorindumitru
sorindumitru enabled auto-merge August 4, 2026 07:57
@sorindumitru
sorindumitru added this pull request to the merge queue Aug 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 4, 2026
@sorindumitru

Copy link
Copy Markdown
Member

@gareth-exhale, looks like Go no longer publishes images for alpine-3.22. Could you switch the images to be use alpine-3.23?

Go no longer publishes golang:<version>-alpine3.22 images, so the
1.26.5 bump left the build stage pointing at a tag that does not
exist. Move to alpine3.23.

Signed-off-by: Gareth Williams <[email protected]>
@gareth-exhale

Copy link
Copy Markdown
Contributor Author

Done — switched the builder image to alpine3.23 in 3af0a0c. Thanks @sorindumitru!

@sorindumitru
sorindumitru added this pull request to the merge queue Aug 5, 2026
Merged via the queue into spiffe:main with commit 6215e59 Aug 5, 2026
52 checks passed
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.

4 participants