Skip to content

fix(auth): upgrade vulnerable GoTrue dependencies - #13

Merged
appflowy merged 4 commits into
appflowy4from
fix/gotrue-runtime-dependencies-20261201
Dec 2, 2026
Merged

appflowy merged 4 commits into
appflowy4from
fix/gotrue-runtime-dependencies-20261201

Conversation

@appflowy

@appflowy appflowy commented Dec 1, 2026 •

Copy link
Copy Markdown

Update the GoTrue fork used by the self-hosted image in AppFlowy-IO/AppFlowy#9140. The published 0.22.2 image embeds gRPC v1.78.0 and both end-of-life pgx/pgproto and JOSE module lines.

  • Upgrade to Go 1.27.4, gRPC 1.85.0, OpenTelemetry 1.47.0, and the patched Go x modules.
  • Move the Pop/PostgreSQL stack to pgx v5 and the OIDC stack to go-jose v4. Match the driver error type used by the production error handler.
  • Update SAML after govulncheck independently identified GO-2026-6909 in the previous dependency graph. Remove the obsolete pgproto3 exception and propagate govulncheck failures directly.
  • Include the two already-published commits on fix/return-login-request-id. The Cloud release gate for every pin after 11ea72a requires generated native request IDs on failed direct grants. Those commits implement and test that contract.

Validation

The complete Go test suite passed against a disposable PostgreSQL 15 database, along with go vet, staticcheck and govulncheck. Gosec passed on application and test code. Trivy 0.77.0 with its 2026-12-01 database reported zero findings at every severity in the final packaged GoTrue candidate on linux/amd64 and linux/arm64. The 0.22.2 baseline had 56 distinct findings per platform.

The companion image build verifies the pinned revision and requires membership on appflowy4 before merge.

@appflowy
appflowy marked this pull request as ready for review December 2, 2026 00:43
@appflowy
appflowy merged commit 327c91c into appflowy4 Dec 2, 2026
4 checks passed
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