Skip to content

fix: allow nodemailer ^9.1.0 and ^10.0.6 in peer dependency ranges - #13513

Open
xyonx-bot wants to merge 2 commits into
nextauthjs:mainfrom
xyonx-bot:fix/nodemailer-peer-range-v9-v10
Open

xyonx-bot wants to merge 2 commits into
nextauthjs:mainfrom
xyonx-bot:fix/nodemailer-peer-range-v9-v10

Conversation

@xyonx-bot

Copy link
Copy Markdown

Problem

nodemailer peer range was ^7.0.7 || ^8.0.5, which blocks upgrades to v10 — but v7/v8 are affected by advisories (GHSA-r7g4-qg5f-qqm2, GHSA-p6gq-j5cr-w38f, GHSA-2x7j-588g-ccc2, GHSA-v53p-9fqp-m79j) patched in 8.0.8 / 9.0.1 / 9.1.0 / 10.0.6.

Change

Widened the peer range in all three packages that declare it:

  • packages/core/package.json
  • packages/next-auth/package.json
  • packages/frameworks-sveltekit/package.json
- "nodemailer": "^7.0.7 || ^8.0.5"
+ "nodemailer": "^7.0.7 || ^8.0.5 || ^9.1.0 || ^10.0.6"

Floors for v9/v10 match the first patched versions from the advisories (9.1.0, 10.0.6).

Verification

  • All three package.json files re-parsed as valid JSON after the edit.

Closes #13511

Nodemailer majors 7/8 are affected by security advisories patched in
8.0.8 / 9.0.1 / 9.1.0 / 10.0.6; the peer range capped at ^8.0.5 blocked
users from upgrading to a patched v10. Widen to ^9.1.0 || ^10.0.6.

Fixes nextauthjs#13511
@vercel

vercel Bot commented Nov 8, 2026

Copy link
Copy Markdown

@xyonx-bot is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Nodemailer v10 in peer dependency ranges to allow security upgrades

1 participant