better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 1.6.5 to 1.6.6
1 release in betweenevery note read
Security
12 advisories still affect 1.6.6
- 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 stored XSS in the auth-server origin via javascript: redirect_uri in oidc-provider and mcphigh · GHSA-86j7-9j95-vpqj
Upgrading to 1.7.7 clears them.
Release by release
- New
Added support for removing a phone number via
updateUser({ phoneNumber: null }) - Fixed
Fixed preservation of the
Partitionedattribute when forwardingSet-Cookieheaders - Fixed
Fixed boolean coercion for the
disableRefreshquery parameter in custom session validation - Fixed
Fixed incorrect inference of team additional fields in the organization plugin
- 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.