Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Upgrading better-auth From 1.7.5 to 1.7.7

2 releases in betweenevery note read

Other targets from 1.7.5Newest 1.x1.7.27Latest1.7.25
  1. 1.7.5yours
  2. 1.7.6
  3. 1.7.7target

Start here

Security

  • Fixed a critical Magic Link account-takeover vulnerability.

    1.7.7

Release by release

  1. 1.7.7

    Security fix30 Sep 20265 fixes
    • Security

      Fixed a critical Magic Link account-takeover vulnerability.

    • Fixed

      Fixed ID-token sign-in ignoring the social provider’s disableSignUp setting.

    • Fixed

      Fixed OAuth Proxy accepting sign-in state as a provider profile. Upgrade all OAuth Proxy participants together; see the OAuth Proxy upgrade guidance.

    • Fixed

      Fixed CAPTCHA errors missing the JSON Content-Type header.

    • Fixed

      Fixed the active organization failing to refresh after sign-in when a session hook selects the initial organization.

    • Fixed

      Fixed rate-limit errors missing the JSON Content-Type header.

  2. 1.7.6

    24 Sep 20262 new · 6 fixes
    • New

      Added support for a bannedUserMessage function that receives the banned user, allowing sign-in errors to include details such as the ban reason.

    • New

      Added Vercel BotID as a captcha provider for protected authentication routes.

    • Fixed

      Passwords over maxPasswordLength are now rejected with PASSWORD_TOO_LONG before hashing or verification.

    • Fixed

      Fixed React hydration mismatches when session or plugin auth queries resolve before streamed components hydrate.

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.