better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 1.6.17 to 1.6.18
1 release in betweenevery note read
Security
5 advisories still affect 1.6.18
- @better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQLlow · GHSA-44jh-23m7-hpcf
- 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.
Release by release
- New
Added
internalAdapter.reserveVerificationValueto atomically record single-use markers, ensuring only one concurrent caller succeeds for replay-protected operations. - New
Added the
incrementOneadapter method andSecondaryStorage.incrementfor atomic counter updates, enabling strict rate-limit and usage-counter enforcement under concurrent load. - Fixed
Fixed
getCookieCacheto returnnullfor expired sessions instead of treating stale signed cookies as live sessions. - Fixed
Fixed the delete-account confirmation link to prevent duplicate account deletions from concurrent callback requests.
- 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.