releases.shpreview
Better Auth/better-auth

better-auth

Mon
Wed
Fri
JunJulAugSepOctNovDecJanFebMarAprMayJun
Less
More
Releases30Avg9/moVersionsv1.4.22 to v1.6.19
v1.6.16

Fixed SIWE verification to bind signed messages to server state before session creation, preventing acceptance of signatures for different messages or domains. Fixed PayPal ID token signature validation (RS256/HS256), Google hosted domain enforcement, and remote token introspection to reject missing or mismatching audience claims. Fixed session race conditions when cookie cache is enabled, /update-session to reject plugin-managed fields, /refresh-token to validate account cookie claims, and email sign-in to validate Origin and Referer headers. Also fixed admin plugin permission enforcement, generic OAuth account collision prevention, JWKS cache isolation, Reddit provider email collision, Facebook token validation, SAML replay prevention, SSO provider ID isolation, OIDC SSRF protection, API key concurrent update handling, Electron PKCE enforcement, and SCIM user provisioning deduplication.

Read more →
v1.6.15

Fixed the listSessions endpoint to properly enforce fresh-age session checks, and OAuth hooks to run correctly when authorization resumes after sign-in, account selection, or consent. Also fixed admin endpoints to return USER_NOT_FOUND instead of a generic 500 error, Kysely migration compatibility, passkey authenticator name resolution, and SAML validation clock skew handling.

Read more →
v1.6.14

Fixed Google One Tap authenticating the wrong user when the presented Google account was already linked to a different local user. Fixed getSessionCookie to prefer the __Secure- prefixed cookie over a non-secure leftover, preventing a stale cookie from shadowing the current session. Also fixed null values being rejected for optional database schema fields, redirect URI validation across runtimes, SAML Single Logout leaving users signed in, and organization invitation verification to restore the normal emailed-invitation flow.

Read more →
v1.6.13

Fixed a high-severity XML injection vulnerability in signed SAML assertions and a stateStrategy defaulting bug that caused oversized-cookie errors on AWS Lambda. Also fixed Google One Tap authenticating the wrong user when the account was already linked, unauthorized dynamic OAuth client registration, SAML Single Logout leaving users signed in, and several account-linking and key-verification regressions across plugins.

Read more →
v1.6.12

Fixed a session cookie leak that allowed session_token and session_data cookies to be captured and replayed to bypass 2FA when cookie caching is enabled. Passkey challenges are now consumed atomically to prevent replay attacks. Also fixed organization invitations silently routing users to wrong teams when IDs contained commas, OAuth state validation failures, and email verification callbackURL encoding across multiple flows.

Read more →
v1.6.11

Fixed an invitation takeover vulnerability by enabling email verification on invitation by default and extending the verification gate to invitation retrieval and listing endpoints. Patched race conditions in magic-link, OAuth authorization-code, and refresh-token-rotation flows that could mint multiple sessions or tokens from single-use credentials, and fixed device authorization to bind pending codes to the verifying session. Also closed an SSRF vulnerability in SSO provider registration by validating OIDC endpoint URLs against a public-routable host allowlist.

Read more →
v1.6.10

Fixed OAuth callbacks accepting missing provider account IDs, which could link accounts under an undefined id, and duplicate Set-Cookie headers on social sign-in and magic-link redirects. Fixed bearer plugin writing duplicate cookie entries, useSession not revalidating after admin impersonation, and useActiveMemberRole retaining a previous user's role after sign-out. In @better-auth/stripe, subscription webhook callbacks now receive post-update rows instead of stale snapshots, and getCheckoutSessionParams no longer overrides internal fields or metadata. Plus fixes across passkey autofill, SAML metadata discovery, email casing, organization invitations, and CLI database config generation.

Read more →

better-auth

Bug Fixes
  • Fixed instrumentation resolution in the adapter factory so edge and browser environments correctly use the pure var...
Read more →

better-auth

Bug Fixes
  • Fixed mapProfileToUser fallback for OAuth providers that may omit email from their profile response ([#9331](http...
Read more →

better-auth

Bug Fixes
  • Fixed forceAllowId UUIDs set in database hooks being ignored on PostgreSQL adapters when `advanced.database.gener...
Read more →
Last Checked
3h ago
Tracking since Nov 22, 2025