Skip to content

chore(DCP-3225): bump go toolchain to 1.26.5 to patch symlink vulnerability - #461

Merged
script-this merged 1 commit into
mainfrom
chore/dcp-3225-go-symlink-vulnerability
Jul 15, 2026
Merged

chore(DCP-3225): bump go toolchain to 1.26.5 to patch symlink vulnerability#461
script-this merged 1 commit into
mainfrom
chore/dcp-3225-go-symlink-vulnerability

Conversation

@script-this

Copy link
Copy Markdown
Contributor

Summary

Snyk flagged CVE-2026-39822 (CVSS 8.5, High) in the Go standard library's os package: on Unix, opening a path inside an os.Root that 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 the go directive in go.mod from 1.26.3 to 1.26.5 (the patched release).

Why this approach

The Dockerfile's build image was already bumped to golang:1.27rc2-alpine by Dependabot in a prior merge (already past the fixed version for this CVE), and CI's go-version: [1.26.x] in go.yml floats to the latest matching patch automatically. The one place still pinning the vulnerable version was go.mod's go directive itself, which Dependabot doesn't touch. go mod tidy confirms go.sum is unaffected — this is a pure toolchain version bump, no dependency changes.

Rollback

Revert this commit to restore go 1.26.3 in go.mod. No other files change.

@script-this
script-this requested review from a team as code owners July 15, 2026 10:34
@prolific-snyk

prolific-snyk commented Jul 15, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@script-this script-this added team-dct customer-facing dct-ready-for-review Triggers Slack notification when PR is ready for review labels Jul 15, 2026
@script-this
script-this merged commit 6771b3e into main Jul 15, 2026
7 of 8 checks passed
@script-this
script-this deleted the chore/dcp-3225-go-symlink-vulnerability branch July 15, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

customer-facing dct-ready-for-review Triggers Slack notification when PR is ready for review team-dct

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants