# authjs/release
Auth.js next-auth@4.24.15
importance: criticalbreakingsecurity
Security patch release for the 4.x line, addressing token handling, OAuth security, email validation, host precedence, and CommonJS compatibility.
affected
Users relying on malformed Bearer tokens or cross-provider OAuth callbacks are affected.
action
Update to 4.24.15 for security fixes and ensure OAuth flows handle provider-bound cookies.
release_signals
-`getToken()` now returns `null` instead of throwing for malformed Bearer tokens.
-OAuth `state`, `nonce`, and PKCE check cookies are provider-bound and reject mismatched callbacks.
-Sign-ins in flight across the upgrade fail once before succeeding on retry due to provider-bound cookie changes.
!Email addresses are Unicode-normalized (NFKC) before validation, closing a homoglyph `@` bypass.
!OAuth security improved by binding `state`, `nonce`, and PKCE cookies to the originating provider.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.