Skip to content

fix(release): build release binaries with Go 1.26.8 - #5

Merged
kycheng merged 1 commit into
AlaudaDevops:alauda-v2.8.3from
kycheng:fix/release-go-1.26.8
Sep 8, 2026
Merged

kycheng merged 1 commit into
AlaudaDevops:alauda-v2.8.3from
kycheng:fix/release-go-1.26.8

Conversation

@kycheng

@kycheng kycheng commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

The registry binary shipped in goharbor-registry-photon:2.14.3-gac61290 reports ten Go stdlib CVEs, all with fixes available, because reusable-release-alauda.yaml pins Go 1.26.4:

Severity CVE Fixed in
HIGH CVE-2026-46600 1.26.6
HIGH CVE-2026-33818, CVE-2026-39821, CVE-2026-56853, CVE-2026-56858, CVE-2026-56859, CVE-2026-56860, CVE-2026-56862 1.26.6
HIGH CVE-2026-39822 1.26.5
MEDIUM CVE-2026-42505 1.26.5

Go 1.26.8 is the current patch release, so this pins that.

How it surfaced

harbor-helm just restored its per-image trivy gate to exitCode 1 (it had been advisory since 2026-07-16 while the photon base image was unpatched). With the gate live, build-registry-scan fails the build instead of logging quietly, and this is the first thing it caught. Notably it is real debt, not a no-fix advisory: bumping the dependency graph in #4 was not enough, because the toolchain that compiles the released binary carries stdlib CVEs of its own.

After merge

A new v2.8.4-alauda-* release needs to be cut, then REGISTRY_VERSION in harbor-helm .tekton/all-in-one.yaml bumped to it.

Opened from a fork - my account has pull on this repo, and both AlaudaDevops distribution repos share one fork network.

🤖 Generated with Claude Code

The registry binary in goharbor-registry-photon:2.14.3-gac61290 reports ten
Go stdlib CVEs, all with fixes available, because the release workflow pins
Go 1.26.4:

  HIGH    CVE-2026-33818  CVE-2026-39821  CVE-2026-39822  CVE-2026-46600
          CVE-2026-56853  CVE-2026-56858  CVE-2026-56859  CVE-2026-56860
          CVE-2026-56862
  MEDIUM  CVE-2026-42505

Every one of them is fixed in Go 1.26.6 or earlier (CVE-2026-46600 needs
1.26.6, the rest 1.26.5). Go 1.26.8 is the current patch release, so build
with that.

This surfaced when harbor-helm restored its trivy gate to exitCode 1: the
scan of the registry image now fails the build instead of logging quietly.
Bumping the dependency graph was not enough - the toolchain that compiles
the released binary carries stdlib CVEs of its own.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kycheng
kycheng merged commit 503a4cf into AlaudaDevops:alauda-v2.8.3 Sep 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant