chore(DCP-3225): bump go toolchain to 1.26.5 to patch symlink vulnerability - #461
Merged
Merged
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
MrManning
approved these changes
Jul 15, 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.
Summary
Snyk flagged CVE-2026-39822 (CVSS 8.5, High) in the Go standard library's
ospackage: on Unix, opening a path inside anos.Rootthat ends in/whose final component is a symlink can escape the intended root. This is a toolchain-level vulnerability, not a third-party dependency, so the fix is bumping thegodirective ingo.modfrom1.26.3to1.26.5(the patched release).Why this approach
The
Dockerfile's build image was already bumped togolang:1.27rc2-alpineby Dependabot in a prior merge (already past the fixed version for this CVE), and CI'sgo-version: [1.26.x]ingo.ymlfloats to the latest matching patch automatically. The one place still pinning the vulnerable version wasgo.mod'sgodirective itself, which Dependabot doesn't touch.go mod tidyconfirmsgo.sumis unaffected — this is a pure toolchain version bump, no dependency changes.Rollback
Revert this commit to restore
go 1.26.3ingo.mod. No other files change.