fix(deps): update dependency next-auth (5.0.0-beta.31 → 5.0.0-beta.32)#639
Merged
Conversation
Contributor
There was a problem hiding this comment.
AI Automated Review
Full PR review.
Analysis engine: self-hosted@https://litellm.jory.dev/v1 (openai) — primary route
Recommendation
Approve. This is a lockfile-only update of next-auth from 5.0.0-beta.31 to 5.0.0-beta.32, which pulls in @auth/core 0.41.2 → 0.41.3. The upstream release is a security-and-correctness patch with no breaking API changes. All CI checks pass.
Change-by-Change Findings
package-lock.json (lockfile only)
next-authresolved from5.0.0-beta.31to5.0.0-beta.32.- Transitive
@auth/coreresolved from0.41.2to0.41.3(integrity hash updated). nodemailerpeer dep range widened from^7.0.7to^7.0.7 || ^8.0.5— additive, not breaking.- No source files changed; no runtime behavior impact beyond what the upstream release notes describe.
Upstream release summary (next-auth 5.0.0-beta.32)
The release picks up three @auth/core@0.41.3 fixes:
- Malformed Bearer token handling in
getToken()— previously, a request with a malformed percent-encoded token (e.g.Authorization: Bearer %) threw an uncaughtURIError. The fix wrapsdecodeURIComponentso malformed encodings are treated as an invalid token and returnnull, matching how undecodable tokens were already handled. - NFKC email normalization — the default email normalizer now applies
String.prototype.normalize("NFKC")before validation, preventing homoglyph-of-@characters (e.g. U+FF20) from bypassing the single-@check and enabling recipient splitting (CWE-180: validate before canonicalize). - Auth checks fail closed on provider config errors — when
getSession()receives a non-OK response from the upstream auth server, it now returns no session instead of an error object, so guards like!!authcorrectly evaluate tofalse.
All three are security/correctness improvements; none alter public API signatures or require caller changes.
Must-Check Items
- Breaking API changes in updated dependencies: Verified against the upstream release notes and the 16-commit compare diff. No breaking changes — only security fixes and a fail-closed behavior improvement. The
nodemailerpeer range widening is additive. Pass. - Full test suite after upgrade: CI reports all checks green — Tests, Typecheck, Lint, Build, Docker Build, and review all succeeded on commit
b34708f. Pass.
Standards Compliance
- No source code changes; no deviation from repository conventions.
- Lockfile-only Renovate PR follows the established pattern (branch
renovate/next-auth-5.x-lockfile, single-file diff). - The
package.jsonsemver range^5.0.0-beta.31correctly allows5.0.0-beta.32under pre-release ordering within the same major.minor.
Sources
- Upstream release: next-auth@5.0.0-beta.32
- Compare diff: [next-auth@5.0.0-beta.31...5.0.0-beta.32](upstream nextauthjs/next-auth compare next-auth@5.0.0-beta.31...next-auth@5.0.0-beta.32)
- CI status for
b34708f: all checks success
its-miso
Bot
force-pushed
the
renovate/next-auth-5.x-lockfile
branch
from
July 21, 2026 15:40
b34708f to
a730756
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.0.0-beta.31→5.0.0-beta.32Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
nextauthjs/next-auth (next-auth)
v5.0.0-beta.32Compare Source
Beta release for the v5 line.
Picks up the @auth/core@0.41.3 security fixes (malformed Bearer token handling in getToken, provider-bound OAuth check cookies, and NFKC email normalization).
Fixes auth checks failing open on provider configuration errors: a non-OK session response now yields no session instead of an error object, so checks like
!!authfail closed.Configuration
📅 Schedule: (in timezone America/Edmonton)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.