Skip to content

fix: upgrade Go toolchain to 1.26.5 for GO-2026-4970-stdlib - #3278

Merged
migmartri merged 1 commit into
mainfrom
chainloop/fix-go-2026-4970-stdlib-20260710-003456
Jul 10, 2026
Merged

migmartri merged 1 commit into
mainfrom
chainloop/fix-go-2026-4970-stdlib-20260710-003456

Conversation

@chainloop-platform

@chainloop-platform chainloop-platform Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bumped the repository Go toolchain directive from 1.26.4 to 1.26.5 and updated the goreleaser builder images to the matching golang:1.26.5 pinned 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.Root can improperly follow a final-component symlink outside the intended root when the path ends with /.

Changes Made

  • Updated go.mod from go 1.26.4 to go 1.26.5 so local and CI builds use the fixed Go standard library release.
  • Updated app/controlplane/Dockerfile.goreleaser, app/cli/Dockerfile.goreleaser, and app/artifact-cas/Dockerfile.goreleaser from golang:1.26.4@sha256:68cb6d68bed024785b69195b89af7ac7a444f27791435f98647edff595aa0479 to golang:1.26.5@sha256:079e59808d2d252516e27e3f3a9c003740dee7f75e55aa71528766d52bcfc16a to keep the release builders on the same fixed toolchain.

Verification

Ran syft dir:. -o cyclonedx-json=/tmp/chainloop-sbom-jVCFKl.json followed by grype sbom:/tmp/chainloop-sbom-jVCFKl.json --only-fixed -o json against the patched repo/. Classification: resolved. grype completed successfully and GO-2026-4970-stdlib was not present in the scan results.

Risk Assessment

View the risk assessment in Chainloop

Review in cubic

@migmartri
migmartri merged commit ff93ea4 into main Jul 10, 2026
13 of 14 checks passed
@migmartri
migmartri deleted the chainloop/fix-go-2026-4970-stdlib-20260710-003456 branch July 10, 2026 06:57
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
chainloop-cli 1.104.0

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## What's Changed
* Bump Helm Chart and Dagger Version => v1.103.1 by @github-actions[bot] in chainloop-dev/chainloop#3259
* fix(ci): align secrets-scan material name with contract by @migmartri in chainloop-dev/chainloop#3262
* fix: harden GitHub Actions workflows against zizmor findings by @migmartri in chainloop-dev/chainloop#3260
* feat: add opencode chainloop-trace plugin by @migmartri in chainloop-dev/chainloop#3267
* ci: bump docker/login-action to v4.4.0 by @matiasinsaurralde in chainloop-dev/chainloop#3261
* fix(controlplane): restrict owner-role invitations to org owners (CP-1) by @migmartri in chainloop-dev/chainloop#3263
* feat: introduce PR mode for attestations by @migmartri in chainloop-dev/chainloop#3268
* docs: fix broken GUAC integration link in README by @tknura in chainloop-dev/chainloop#3272
* fix(cli): correct registered integration add usage string to --opt by @tknura in chainloop-dev/chainloop#3271
* fix: upgrade extras/dagger deps to resolve 4 security advisories by @migmartri in chainloop-dev/chainloop#3277
* fix(crafter): surface auto-discovery validation errors by @waveywaves in chainloop-dev/chainloop#2983
* docs: regenerate CLI reference for registered integration add usage by @matiasinsaurralde in chainloop-dev/chainloop#3279
* fix: upgrade Go toolchain to 1.26.5 for GO-2026-4970-stdlib by @chainloop-platform[bot] in chainloop-dev/chainloop#3278
* feat(cli): explode archive materials in chainloop att add by @javirln in chainloop-dev/chainloop#3254
* fix(materials): do not record container image digest as tag by @tknura in chainloop-dev/chainloop#3281
* fix(cli): accept matching --name and metadata.name in contract commands by @tknura in chainloop-dev/chainloop#3282
* fix(dispatcher): improve fanout delivery timeouts and retry budget by @migmartri in chainloop-dev/chainloop#3270
* refactor: remove the public attribute from workflows by @matiasinsaurralde in chainloop-dev/chainloop#3283
* fix(cli): preserve verbatim contract bytes when splitting apply documents by @javirln in chainloop-dev/chainloop#3233


**Full Changelog**: https://github.com/chainloop-dev/chainloop/compare/v1.103.1...v1.104.0</pre>
  <p>View the full release notes at <a href="https://github.com/chainloop-dev/chainloop/releases/tag/v1.104.0">https://github.com/chainloop-dev/chainloop/releases/tag/v1.104.0</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!14158
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.

2 participants