Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.6.21

26 Jun 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

10 fixed

Security

Release note

The section about better-auth of a note shared by several packages.

better-auth

Bug Fixes

  • Fixed rate limits to be enforced before plugin request handlers run

  • Fixed admin permission changes and bans to take effect immediately, even when session cookie cache is enabled

  • Fixed deviceAuthorization() throwing a ZodError when called without a schema option under Zod v4

  • Fixed Google hosted-domain validation to apply consistently across all sign-in flows, including Google One Tap

  • Fixed OAuth proxy to reject profile callbacks that do not match an issued OAuth state, preventing session creation with stale state

  • Fixed OAuth sign-up and account linking to ignore provider profile values for fields marked input: false

  • Fixed PayPal sign-in to validate user info against the verified ID token subject

  • Fixed SIWE sign-in to reject emails that already belong to another account, preventing one email from being attached to two accounts

  • Fixed two-factor verification to lock out after five wrong codes for TOTP and backup codes, returning TOO_MANY_ATTEMPTS_REQUEST_NEW_CODE

  • Fixed the username plugin to only store displayUsername fallbacks that pass username validation during email sign-up

For detailed changes, see CHANGELOG

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.