fix: build with Go 1.26.4 to remediate stdlib vulnerabilities - #56
Merged
yuzichen12123 merged 1 commit intoJul 6, 2026
Merged
Conversation
Bump go directive 1.26.2 -> 1.26.4 so release binaries are compiled with Go 1.26.4, remediating Go stdlib CVEs flagged on the trivy-adapter image (CVE-2026-27145, etc.). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author
Why this repo only changes one place for the Go 1.26.4 bumpThese three sibling PRs (trivy, harbor-scanner-trivy, goharbor-distribution) look structurally different on purpose — each repo derives its release binary Go version from a different source, so each PR touches the single knob that actually controls the compiled toolchain. They do not need to mirror each other.
Goal: remediate Go stdlib CVEs (CVE-2026-27145 crypto/x509, CVE-2026-33811/33814 net, CVE-2026-42504/42507 net/textproto, CVE-2026-39820/39823/39825/39826, etc.) flagged by Trivy on the built Harbor images, all fixed in Go 1.26.4. Verified against the harbor-all-in-one pipeline scan (DEVOPS-44168). |
yuzichen12123
approved these changes
Jul 6, 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.
Bump the Go build toolchain to 1.26.4 so release binaries no longer carry Go stdlib vulnerabilities flagged by Trivy on the built Harbor images (CVE-2026-27145 crypto/x509, CVE-2026-33811/33814 net, CVE-2026-42504/42507 net/textproto, CVE-2026-39820/39823/39825/39826 net/mail+html/template, etc.; all fixed in Go 1.26.4).
Part of Harbor 2.14.3 vulnerability remediation (DEVOPS-44168).
🤖 Generated with Claude Code