Skip to content

fix: bump golang.org/x/crypto to v0.55.0 (CVE-2026-56854) - #833

Open
cslovell wants to merge 1 commit into
amacneil:mainfrom
cslovell:bump-x-crypto-0.55.0
Open

fix: bump golang.org/x/crypto to v0.55.0 (CVE-2026-56854)#833
cslovell wants to merge 1 commit into
amacneil:mainfrom
cslovell:bump-x-crypto-0.55.0

Conversation

@cslovell

@cslovell cslovell commented Sep 3, 2026

Copy link
Copy Markdown

Summary

Trivy flags the released dbmate binary (ghcr.io/amacneil/dbmate:2, v2.35.1) as CRITICAL for CVE-2026-56854: in golang.org/x/crypto/ssh, source-address restrictions returned by the password / keyboard-interactive / no-auth / GSSAPI callbacks were not enforced. The fix landed in x/crypto v0.55.0; dbmate is on v0.52.0 (indirect, via the BigQuery and ClickHouse drivers).

dbmate doesn't run an SSH server so the code path isn't reachable here, but image scanners don't know that, and anyone copying the binary into their own image (as we do for migrations) fails a CRITICAL gate on it.

Change

go get golang.org/x/crypto@v0.55.0 && go mod tidy. x/net, x/sys, x/text, x/tools, x/mod, x/sync and x/telemetry move to the versions it requires. go build ./... and go vet ./pkg/... pass locally with go1.26.

Same shape as #807 and #811.

Trivy flags the released dbmate binary as CRITICAL for CVE-2026-56854
(golang.org/x/crypto/ssh: source-address restrictions from the
password / keyboard-interactive / no-auth / GSSAPI callbacks were not
enforced). The fix is in x/crypto v0.55.0. Bumped with 'go get' and
'go mod tidy'; x/net, x/sys, x/text, x/tools, x/mod, x/sync and
x/telemetry moved to the versions it requires. Build and vet pass.
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