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
- 0
- changes to make
- 3
- advisories fixed
- 2
- new
- 11
- fixes
Start here
Security
Fixes 3 advisories affecting 1.7.5
- @better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQLlow · GHSA-44jh-23m7-hpcf
- better-auth: OAuth state can be used as a Magic Link to sign in as another usercritical · GHSA-965c-763c-88jm
- better-auth: OAuth Proxy lets an attacker sign in as another userhigh · GHSA-r4xp-prcw-77qf
- 1.7.7
Fixed a critical Magic Link account-takeover vulnerability.
Release by release
- Security
Fixed a critical Magic Link account-takeover vulnerability.
- Fixed
Fixed ID-token sign-in ignoring the social provider’s
disableSignUpsetting. - 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-Typeheader. - 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-Typeheader.
- Security
- New
Added support for a
bannedUserMessagefunction 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
maxPasswordLengthare now rejected withPASSWORD_TOO_LONGbefore hashing or verification. - Fixed
Fixed React hydration mismatches when session or plugin auth queries resolve before streamed components hydrate.
- New
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.