better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 1.6.12 to 1.6.13
1 release in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 1
- new
- 6
- fixes
Security
4 advisories still affect 1.6.13
- better-auth: OAuth state can be used as a Magic Link to sign in as another usercritical · GHSA-965c-763c-88jm
- better-auth: Device login approval does not show the requesting client or permissionshigh · GHSA-q84f-53jg-9ppm
- Better Auth: Account takeover via pre-account hijacking on magic-link and email-OTP sign-inhigh · GHSA-qq9h-g4jm-xgf3
- better-auth: OAuth Proxy lets an attacker sign in as another userhigh · GHSA-r4xp-prcw-77qf
Upgrading to 1.7.7 clears them.
Fixes 1 advisory affecting 1.6.12
Release by release
- New
Added support for server-side
accountInfocalls with an optionaluserIdparameter, allowing trusted callers to read provider profiles without constructing session headers - Fixed
Clarified that
viewBackupCodesis a server-only function not accessible via HTTP in its API documentation - Fixed
Fixed Google One Tap authenticating the wrong user when the presented Google account is already linked to a different local user, by resolving identity through the shared OAuth path
- Fixed
Fixed
storeStateStrategydefaulting to"cookie"instead of"database"when onlysecondaryStorageis configured, preventing oversized-cookie errors on platforms like AWS Lambda - Fixed
Fixed
updateUserInfoOnLinknot being applied when linking accounts through the standard OAuth redirect flow - Fixed
Fixed
oidc-providerandmcpplugins accepting invalidredirect_urischemes such asjavascript:anddata: - Fixed
Fixed organization
logonot acceptingnull, preventing users from clearing an existing logo on create and update
- 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.