better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 1.6.10 to 1.6.11
1 release in betweenevery note read
- 0
- changes to make
- 7
- advisories fixed
- 1
- new
- 6
- fixes
Security
5 advisories still affect 1.6.11
- Better Auth has stored XSS in the auth-server origin via javascript: redirect_uri in oidc-provider and mcphigh · GHSA-86j7-9j95-vpqj
- 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
Upgrading to 1.7.7 clears them.
Fixes 7 advisories affecting 1.6.10
- Better Auth: Stale sessions persist after user deletion across admin, anonymous, and SCIM flowslow · GHSA-2vg6-77g8-24mp
- @better-auth/oauth-provider's OAuth authorization-code grant allows concurrent redemption when two token requests race the find-then-delete primitivehigh · GHSA-7w99-5wm4-3g79
- Better Auth has insecure cryptographic defaults in oidcProvider: alg=none advertised and plain PKCE accepted by defaulthigh · GHSA-9h47-pqcx-hjr4
- Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pendinghigh · GHSA-cq3f-vc6p-68fh
- Better Auth vulnerable to unauthorized invitation acceptance via unverified email match in organization pluginhigh · GHSA-fmh4-wcc4-5jm3
- Better Auth has an account takeover issue via OAuth auto-link to unverified pre-registered emailhigh · GHSA-g38m-r43w-p2q7
- Better Auth: OAuth refresh-token replay via missing client authentication on oidc-provider and mcp pluginscritical · GHSA-pw9m-5jxm-xr6h
- 1.6.11
Fixed an invitation takeover vulnerability by enabling
requireEmailVerificationOnInvitationby default and extending the verification gate togetInvitationandlistUserInvitations
Release by release
- Security
Fixed an invitation takeover vulnerability by enabling
requireEmailVerificationOnInvitationby default and extending the verification gate togetInvitationandlistUserInvitations - New
Added an error code to the
change-email-disabledresponse to help clients identify the rejection reason - Fixed
Fixed access-control role statement types so predefined organization roles expose only their configured permissions in TypeScript
- Fixed
Fixed the anonymous plugin to correctly call
onLinkAccountwhen email verification triggers auto sign-in
- Security
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.