Loading...
Skip to main content

CVE-2026-73420 — Vulnerability in next-auth — CVE Details

CRITICAL

Auth.js: Email normalizer validates the address before Unicode normalization, allowing a homoglyph @ bypass

Published July 23, 2026Updated September 10, 2026Source: osv

Summary

## Summary The default email-address normalizer used by the email/magic-link sign-in flow validates the address **before** applying Unicode normalization. An address can contain a Unicode character that is not an ASCII `@` (U+0040) but canonicalizes to one under NFKC/NFKD normalization (the normalization commonly applied by mail libraries and services for internationalized email). Such an address passes the normalizer's single-`@` check, but a downstream mail library that normalizes the string then sees two `@` separators and may deliver the passwordless sign-in link to a different recipient than intended. This is an instance of validating before canonicalizing. ## Am I affected? You may be affected if **all** of the following hold: - You use `next-auth` `>= 4.0.0, < 4.24.14`, or `@auth/core` `>= 0.1.0, < 0.41.3`. - You have the email / magic-link (passwordless) provider enabled. - You rely on the built-in default identifier normalizer (you have not supplied your own `normalizeIdentifier`). - Your `sendVerificationRequest` implementation uses a mail library or delivery service that applies Unicode normalization to recipient addresses (most internationalized-email/SMTPUTF8-capable senders do). You are **not** affected if you do not use the email provider, or if your normalizer/mailer rejects or canonicalizes non-ASCII addresses before they are validated. ## Impact - Account takeover: an attacker who knows a victim's email address can request a magic link that is delivered to an attacker-controlled mailbox, then use it to sign in as the victim. - No victim interaction is required to misroute the link; the attacker initiates the flow. ## Patched version The fix applies Unicode (NFKC) normalization before the address is validated, so homoglyph separators are collapsed and rejected up front. Upgrade to the first release containing this fix (pending; this advisory will be updated with the exact patched version before publication). No application code changes are required after upgrading. ## Workarounds If you cannot upgrade immediately: - Supply a custom `normalizeIdentifier` on the email provider that calls `identifier.normalize("NFKC")` (and lower-cases/trims) **before** any validation, and rejects addresses that do not contain exactly one `@` after normalization. - Or reject any address whose local part or domain contains non-ASCII characters, if your user base does not require internationalized email addresses. ## Credit Reported by @kakashi-kx. Thank you for the responsible disclosure.

Advisory Timeline

  • First published July 23, 2026 (81 days ago).
  • Last revised September 10, 2026 — 49 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update next-auth to 5.0.0-beta.32 or later
npm install next-auth@5.0.0-beta.32
npm
Update @auth/core to 0.41.3 or later
npm install @auth/core@0.41.3
npm
Update next-auth to 4.24.15 or later
npm install next-auth@4.24.15

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: npm (2).

PackageEcosystemAffectedFixed In
next-auth
npm
All versions5.0.0-beta.32
@auth/core
npm
All versions0.41.3
next-auth
npm
All versions4.24.15

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2026-73420?
Auth.js: Email normalizer validates the address before Unicode normalization, allowing a homoglyph @ bypass This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 8.6/10).
How do I check if my project is affected by CVE-2026-73420?
CVE-2026-73420 affects next-auth and @auth/core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-73420 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.6

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-7rqj-j65f-68wh

Related CVEs

  • CVE-2026-73421
    CRITICAL

    Auth.js: Configuration errors can cause existence-based auth checks to fail open (auth object populated with an error)

  • CVE-2026-107722
    CRITICAL

    fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion

  • CVE-2026-108261
    CRITICAL

    TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment

  • CVE-2025-48947
    HIGH

    NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies