better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 1.4.16 to 1.4.17
1 release in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 1
- new
- 5
- fixes
Security
12 advisories still affect 1.4.17
- Better Auth: Stale sessions persist after user deletion across admin, anonymous, and SCIM flowslow · GHSA-2vg6-77g8-24mp
- Better Auth: OAuth refresh-token rotation forks the token family on concurrent redemptionhigh · GHSA-392p-2q2v-4372
- @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
Upgrading to 1.7.7 clears them.
Fixes 1 advisory affecting 1.4.16
- Better Auth: Rate limiter keys IPv6 addresses individually and is bypassable via prefix rotationhigh · GHSA-p6v2-xcpg-h6xw
Release by release
- New
two-factor: Add twoFactorCookieMaxAge as a separate option
- Fixed
Set default ipv6 subnet to 64
- Fixed
cookies: Fallback to isProduction when
baseURLis not set - Fixed
db: Only exclude
returned: falsefields from output schemas - Fixed
stripe: Allow re-subscribing to the same plan when subscription has expired
- Fixed
two-factor: Improve OTP comparision during hashed and encrypted values
- 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.