Skip to content

Bump Go to 1.26.6 and patch stdlib / module CVEs - #1044

Open
walidelbiir wants to merge 1 commit into
xataio:mainfrom
walidelbiir:bump-go-1.26.6-security
Open

Bump Go to 1.26.6 and patch stdlib / module CVEs#1044
walidelbiir wants to merge 1 commit into
xataio:mainfrom
walidelbiir:bump-go-1.26.6-security

Conversation

@walidelbiir

Copy link
Copy Markdown

Summary

Security-only bump so published Linux amd64 binaries are built with a patched Go toolchain and dependencies. Jobflow ships these binaries via XATA_PGROLL_BINARY_VERSION and Aikido flags CVEs against the released artifacts.

CVEs addressed

Advisory Package Fix
CVE-2026-39821 Go stdlib (golang.org/x/net/idna / Punycode) Go 1.26.6
CVE-2026-56865 golang.org/x/mod v0.40.0
GO-2026-5970 golang.org/x/text (CLI code path via pterm) v0.39.0

Changes

  • go.mod / dev/go.mod: go 1.26.3go 1.26.6
  • golang.org/x/mod v0.36.0 → v0.40.0
  • golang.org/x/text v0.34.0 → v0.39.0
  • .github/workflows/build.yml: goreleaser/goreleaser-cross v1.26.2 → v1.26.5 (latest published tag; no v1.26.6 image exists yet — release binaries will still use Go 1.26.5 until goreleaser-cross ships 1.26.6; go.mod and CI setup-go already target 1.26.6)

Verification

go test ./cmd/... ./pkg/...
govulncheck ./cmd/... ./pkg/...   # no vulnerabilities

Remaining govulncheck findings for golang.org/x/crypto/ssh are test-only (via testcontainers) and not linked into the CLI binary.

Release request

Please cut a patch release after merge (current latest: v0.16.2). Jobflow pins XATA_PGROLL_BINARY_VERSION and cannot consume main directly.

Made with Cursor

- Bump Go toolchain from 1.26.3 to 1.26.6 (fixes CVE-2026-39821 stdlib/idna)
- Bump golang.org/x/mod to v0.40.0 (fixes CVE-2026-56865)
- Bump golang.org/x/text to v0.39.0 (fixes GO-2026-5970 in CLI code paths)
- Bump goreleaser-cross image to v1.26.5 (latest available; no v1.26.6 tag yet)

Jobflow and other consumers ship the published Linux amd64 binaries from
releases. Please cut a patch release after merge.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions
github-actions Bot temporarily deployed to Docs Preview August 17, 2026 11:03 Inactive
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.

1 participant