Skip to content

🤖 Update Go for the compromised CA mitigation - #1056

Merged
mcncl merged 1 commit into
mainfrom
fix/emsign-go-toolchain
Oct 20, 2026
Merged

mcncl merged 1 commit into
mainfrom
fix/emsign-go-toolchain

Conversation

@lox

@lox lox commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

Go 1.27.3 and 1.26.10 fix CVE-2026-111943 by rejecting certificate chains containing eight distrusted intermediate public keys. The current CLI release, v3.64.1, was built with Go 1.27.2 and needs to be rebuilt and released to pick up this mitigation.

This does not remove all emSign or AAA Certificate Services roots. The CLI uses the system trust store, not an embedded bundle. The current Chainguard static image and Alpine CA bundle exclude emSign ECC Root CA G3 and AAA Certificate Services, but retain emSign Root CA G1. Any requirement to distrust all emSign roots still needs separate trust-store work, including on hosts running standalone binaries.

Changes

  • Pin the shared CI/release toolchain and Docker builder to Go 1.27.3; regenerate the mise lockfile.
  • Raise the Go 1.26 minimum to the patched 1.26.10 release.
  • Update the Dockerfile runtime from Alpine 3.24.1 to 3.24.2. It installs the current ca-certificates package (20261020-r0 at inspection).
  • Document trust-store ownership and the need to rebuild and release. Published images already use Chainguard static:latest via ko, not the Dockerfile; the current base carries ca-certificates-bundle 20260909-r3, compared with r2 in the published CLI image.

Testing

  • Tests have run locally (with go test ./..., on Go 1.27.3 and 1.26.10)
  • Code is formatted (with mise run format)
  • mise run lint: 0 issues; mise run vulncheck: no reachable vulnerabilities.
  • GoReleaser snapshot build: all six Linux/macOS/Windows amd64/arm64 binaries built, using empty telemetry/OAuth values for local validation only.
  • Daemonless ko builds succeeded for Linux amd64 and arm64 with --push=false; both image binaries report Go 1.27.3 and both bundles retain only emSign Root CA G1 among the queried emSign/AAA roots.
  • Registry tags and CA bundle contents inspected. goreleaser check reports the pre-existing deprecated brews setting; snapshot builds succeed.

No release has been triggered.

Build with Go 1.27.3 and require the patched Go 1.26.10 minimum. Refresh the Dockerfile bases and document the difference between Go's intermediate-key blocklist and operating-system root distrust.

Amp-Thread-ID: https://ampcode.com/threads/T-69e8d6b1-0784-4323-8780-efc0c256b948
Co-authored-by: Amp <amp@ampcode.com>
@lox
lox requested review from a team as code owners October 20, 2026 22:06
@mcncl
mcncl merged commit b3c406d into main Oct 20, 2026
2 checks passed
@mcncl
mcncl deleted the fix/emsign-go-toolchain branch October 20, 2026 22:10
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