NextAuth.js CVE-2026-73420
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconLearn victim's email address
-
DeliveryCraft identifier with U+FF20 homoglyph '@'
-
ExploitSubmit to magic-link sign-in endpoint
-
InstallBypass single-'@' normalizer validation
-
C2Downstream mailer normalizes and misroutes link
-
ExecuteAttacker receives and clicks magic link
-
ImpactAuthenticated as victim (account takeover)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Leading special element handling
|
| Exploitation Conditions | Exploitation requires that the target application enables the NextAuth.js email/magic-link (passwordless) provider AND relies on the built-in defaultNormalizer (no custom normalizeIdentifier) AND uses a sendVerificationRequest mail library or delivery service that applies Unicode NFKC/NFKD normalization to recipient addresses (typical of SMTPUTF8/internationalized-email senders). The attacker must know the victim's real email address and crafts an identifier embedding a Unicode homoglyph of '@' (e.g. U+FF20 FULLWIDTH COMMERCIAL AT) that survives the single-'@' check but splits into two recipients after normalization. No authentication and no victim interaction are needed (PR:N/UI:N). Limiting factors: deployments using a custom normalizer, a mailer that rejects or canonicalizes non-ASCII addresses before validation, or an ASCII-only mail path are not exploitable - this non-default-dependent chain is why the CVSS 4.0 vector carries AT:P. |
| Impact | This is a genuine high-priority issue for affected deployments rather than an inflated high-CVSS score: the CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N, VC:H/VI:H) reflects remote, unauthenticated, zero-interaction account takeover, tempered by AT:P - an Attack Requirement - because exploitation depends on the downstream sender applying Unicode normalization. There is no CISA KEV listing and no EPSS score provided, and no public exploit is identified at time of analysis, so real-world exploitation is not confirmed; however, the mechanism is fully documented in a public GHSA advisory and commit diff, lowering the barrier to weaponization. The signals are largely consistent: high technical impact but a real precondition (built-in normalizer plus a normalizing mailer) that not every deployment meets, meaning any operator running the email provider with a default normalizer and an SMTPUTF8-capable delivery service should treat this as urgent, while shops using a custom normalizeIdentifier or ASCII-only mail paths face little exposure. Missing data to note explicitly: no EPSS or KEV input was supplied, so likelihood must be inferred from the vector and public disclosure rather than measured. |
| Exploit ScenarioDerived | An attacker who knows victim@victim.company.com submits 'attacker@evil.com@victim.company.com' (using the fullwidth U+FF20 homoglyph) to the magic-link sign-in endpoint; the normalizer sees one ASCII '@' and accepts it, but the SMTPUTF8-capable mailer normalizes the string and delivers the passwordless link to attacker@evil.com. The attacker clicks the link and is authenticated as the victim with no victim interaction. No public exploit code is identified at time of analysis, though the public GHSA regression test demonstrates the exact malicious input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 13, 2026
Account takeover in NextAuth.js / Auth.js email (magic-link) sign-in lets a remote unauthenticated attacker who knows a victim's address hijack the passwordless login. The built-in defaultNormalizer checks for a single ASCII '@' before applying Unicode NFKC normalization, so a homoglyph such as U+FF20 (FULLWIDTH COMMERCIAL AT) passes validation but canonicalizes to a second '@' in a downstream SMTPUTF8/internationalized mailer, misrouting the sign-in link to an attacker mailbox. No public exploit is identified at time of analysis, but a regression test and full commit-level detail are public, and vendor-released patches exist (@auth/core 0.41.3, next-auth 4.24.15 and 5.0.0-beta.32).
RemediationAI
Vendor-released patch: upgrade @auth/core to 0.41.3, next-auth (v4) to 4.24.15, or next-auth (v5) to 5.0.0-beta.32, per release notes at https://github.com/nextauthjs/next-auth/releases/tag/@auth/core@0.41.3, .../next-auth@4.24.15 and .../next-auth@5.0.0-beta.32; the fix (commits 19d2feb24359fa8c79418907fc68d9ec8152ca94 and a63eee12a1a20cb35209e44195b097868517b9a0) normalizes before validation and needs no application code changes. If you cannot upgrade immediately, supply a custom normalizeIdentifier on the email provider that calls identifier.normalize("NFKC") (then lower-cases and trims) before validating and rejects any address not containing exactly one '@' after normalization - this fully closes the homoglyph path with no functional downside for legitimate users. Alternatively, reject any address whose local part or domain contains non-ASCII characters, which is simple and robust but breaks internationalized (IDN/SMTPUTF8) email addresses, so only use it if your user base does not need them. Full details in GHSA-7rqj-j65f-68wh.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the JavaScript authentication library NextAuth.js (npm next-auth) and its underlying @auth/core package, used to add auth to Next.js applications. The defect is in the email/magic-link provider's defaultNormalizer within the sign-in route (packages/next-auth/src/core/routes/signin.ts). The root cause is CWE-180 (Incorrect Behavior Order: Validate Before Canonicalize): the code called identifier.trim() and enforced a single-'@' rule before any Unicode normalization, then normalization happened later in a different layer. Unicode NFKC/NFKD compatibility mapping folds visually or semantically equivalent code points onto ASCII - U+FF20 FULLWIDTH COMMERCIAL AT maps to U+0040 '@'. Mail libraries and SMTPUTF8-capable delivery services routinely normalize recipient addresses, so a string like 'attacker@evil.com@victim.company.com' presents one '@' to the validator but two to the mailer, which parses it into multiple recipients. The fix inserts identifier.normalize("NFKC") before validation so the smuggled separator is collapsed and rejected up front.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote unauthenticated with no user interaction (AV:N/PR:N/UI:N), but AC:H because success depends on a downstream mailer applying Unicode normalization; account takeover gives C:H/I:H, no availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
NextAuth.js provides authentication for Next.js. Prior to @auth/core 0.41.3 and next-auth 4.24.15 and 5.0.0-beta.32, the defaultNormalizer used by the email and magic-link sign-in flow validates an address before applying Unicode normalization. An address can contain a Unicode character such as U+FF20 FULLWIDTH COMMERCIAL AT that is not ASCII at-sign but canonicalizes to an ASCII at-sign under NFKC or NFKD normalization. The address passes the normalizer's single-at-sign check, but a downstream sendVerificationRequest mail library or delivery service that normalizes the address can then see two at-sign separators and deliver the passwordless sign-in link to an attacker-controlled recipient. Applications are affected when the email provider uses the built-in normalizer rather than a custom normalizeIdentifier and the downstream sender applies Unicode normalization. An attacker who knows a victim's email address can request the misrouted magic link and sign in as the victim without victim interaction. This issue is fixed in @auth/core 0.41.3 and next-auth 4.24.15 and 5.0.0-beta.32.
Blast Radius
ecosystem impact- 7 npm packages depend on next-auth (6 direct, 1 indirect)
Ecosystem-wide dependent count for version 4.10.3.
Executive ViewAI
NextAuth.js and Auth.js email authentication contains a critical vulnerability enabling unauthorized account access through email-based sign-in systems. Attackers can bypass authentication and gain full access to user accounts at organizations using these libraries for passwordless login. This risk extends to any internal or customer-facing system relying on these libraries for authentication.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
GHSA-7rqj-j65f-68wh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB