fix: upgrade Go toolchain to 1.26.5 for GO-2026-4970-stdlib#3278
Merged
migmartri merged 1 commit intoJul 10, 2026
Conversation
matiasinsaurralde
approved these changes
Jul 10, 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
Bumped the repository Go toolchain directive from
1.26.4to1.26.5and updated the goreleaser builder images to the matchinggolang:1.26.5pinned digest. This applies the minimum patch recommended for the vulnerable Go standard library release line.Vulnerability Fixed
GO-2026-4970-stdlib(HIGH): on Unix systems,os.Rootcan improperly follow a final-component symlink outside the intended root when the path ends with/.Changes Made
go.modfromgo 1.26.4togo 1.26.5so local and CI builds use the fixed Go standard library release.app/controlplane/Dockerfile.goreleaser,app/cli/Dockerfile.goreleaser, andapp/artifact-cas/Dockerfile.goreleaserfromgolang:1.26.4@sha256:68cb6d68bed024785b69195b89af7ac7a444f27791435f98647edff595aa0479togolang:1.26.5@sha256:079e59808d2d252516e27e3f3a9c003740dee7f75e55aa71528766d52bcfc16ato keep the release builders on the same fixed toolchain.Verification
Ran
syft dir:. -o cyclonedx-json=/tmp/chainloop-sbom-jVCFKl.jsonfollowed bygrype sbom:/tmp/chainloop-sbom-jVCFKl.json --only-fixed -o jsonagainst the patchedrepo/. Classification:resolved.grypecompleted successfully andGO-2026-4970-stdlibwas not present in the scan results.Risk Assessment
View the risk assessment in Chainloop