fix(build): bump Dockerfile.exec Go toolchain to 1.26.5#32
Merged
Conversation
The released zip binaries are built by Dockerfile.exec (via the onDemandPublishToAWS workflow), which still pinned golang:1.26.3-alpine3.23 - PR 31 updated only the main Dockerfile. As a result the published 26.07.1 binaries embed stdlib go1.26.3, which carries CVE-2026-42504 and CVE-2026-39822 (both HIGH) and trips consumers' vulnerability gates (rejected the rearm-watcher release). Align Dockerfile.exec to the same golang:1.26.5-alpine3.24 digest as the main Dockerfile. OSV reports zero stdlib vulns for 1.26.5. Verified by building Dockerfile.exec locally: the produced linux-amd64 binary embeds go1.26.5 and x/net v0.57.0. ReARM-Agentic-Session: cli-exec-builder-go-1783735254 ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Why
The published 26.07.1 zip binaries embed stdlib go1.26.3, which carries CVE-2026-42504 and CVE-2026-39822 (both HIGH) — these just tripped the critical/high gate on the rearm-watcher release that bundles the CLI.
Root cause: the zips are built by
Dockerfile.exec(viaonDemandPublishToAWS.yml), which still pinnedgolang:1.26.3-alpine3.23. #31 updated only the mainDockerfile— the second builder was missed.What
One line: align
Dockerfile.execto the samegolang:1.26.5-alpine3.24pinned digest as the main Dockerfile. OSV reports zero stdlib vulnerabilities for go 1.26.5 (current latest stable).Testing
Built
Dockerfile.execlocally (full multi-platform zip matrix) and inspected the produced linux-amd64 binary:go version -m→ go1.26.5,golang.org/x/net v0.57.0A new CLI release from this will clear the two stdlib HIGHs on consumer images; the remaining watcher-release blockers (kubectl-embedded x/net critical, Alpine openssl FPs) are separate tracks.
🤖 Generated with Claude Code