better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 1.4.5 to 1.4.6
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 8
- new
- 22
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.4.6
Security
13 advisories still affect 1.4.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
- Breaking
admin: Prevent impersonating admins by default
- New
Add
ctx.isTrustedDomainhelper - New
Drizzle pg supports JSON
- New
Add Refresh Token Support to Kick OAuth Provider
- Breaking
2 internal lines (docs, tests, tooling) left out.
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.