better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 1.6.15 to 1.6.16
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 14
- fixes
Security
4 advisories still affect 1.6.16
- 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.
Release by release
- Fixed
Fixed SIWE verification to bind the signed message to server state before creating a session, preventing acceptance of signatures produced for a different message, earlier nonce, or unrelated domain.
- Fixed
Fixed PayPal ID token verification to validate the signature, issuer, audience, expiration, and nonce against PayPal's JWKS (RS256) or client secret (HS256), rejecting tokens that pass only structural checks.
- Fixed
Fixed Google
hd(hosted domain) enforcement to verify thehdclaim on the verified ID token and callback profile, preventing accounts outside the configured Workspace domain from signing in. - Fixed
Fixed
verifyAccessTokenremote introspection to reject tokens with a missing or mismatchingaudclaim; setremoteVerify.allowMissingAudience: trueto permit tokens where the introspection response legitimately omitsaud.
- Fixed
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.