better-auth
1.7.25 · 14 Nov 2026MIT20.8M / weekRepositoryHomepagenpmAtom feed
Upgrading better-auth From 0.4.6 to 0.4.7
1 release in betweenevery note read
Security
18 advisories still affect 0.4.7
- Better Auth: Stale sessions persist after user deletion across admin, anonymous, and SCIM flowslow · GHSA-2vg6-77g8-24mp
- Better Auth Open Redirect Vulnerability in originCheck Middleware Affects Multiple Routeslow · GHSA-36rg-gfq2-3h56
- Better Auth affected by external request basePath modification DoShigh · GHSA-569q-mpph-wgww
Upgrading to 1.6.13 clears them.
Release by release
- New
Use secondary storage as primary for sessions
- New
Bearer token encrypted value support
- New
Resolve sveltekit $env modules, add lib/server to possible config paths
- New
Add onError and throw error options for APIError
- Fixed
Dbhooks should apply to secondary storages
- Fixed
Session should be returned manually from secondary storage
- 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.