CVE-2026-73419
NextAuth.js: OAuth state, nonce, and PKCE check cookies are not bound to the provider that created them
Also known as GHSA-x445-f3h2-j279
Mitigation
- Upgrade @auth/core to 0.41.3 or later.
- Upgrade next-auth to one of 5.0.0-beta.32, 4.24.15 (or later in the same release line).
Who should check
- Projects that depend on npm package @auth/core (< 0.41.3)
- Projects that depend on npm package next-auth (>= 5.0.0-beta.1, < 5.0.0-beta.32)
- Anyone running nextauthjs next-auth < 4.24.15; >= 5.0.0-beta.4, < 5.0.0-beta.32
- Anyone running @auth core < 0.41.3
Vulnerability facts
- Affected
- @auth/core < 0.41.3; next-auth >= 5.0.0-beta.1, < 5.0.0-beta.32
- Fixed in
- 0.41.3, 5.0.0-beta.32, 4.24.15
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- CWE
- CWE-345, CWE-346, CWE-940
- Modified
Description
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, Auth.js stores the OAuth/OIDC anti-CSRF checks state, nonce, and the PKCE verifier in global cookies that are not bound to the provider that created them. On callback, a check value minted during a sign-in started with one provider can satisfy the callback for a different provider because the stored cookie is not verified against the callback provider's identity, including the provider ID, issuer, client ID, or redirect URI. In a multi-provider application that permits account linking while logged in, when one provider's authorization request is observable and a target provider callback can be satisfied without a PKCE verifier, an attacker can lure a victim into starting a legitimate same-origin flow and link the attacker's target-provider account to the victim's Auth.js user. The linked provider grants the attacker persistent sign-in to the victim's account, while cross-site request forgery alone is insufficient. This issue is fixed in @auth/core 0.41.3 and next-auth 4.24.15 and 5.0.0-beta.32.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @auth/core | < 0.41.3 | 0.41.3 | osv |
| npm next-auth | >= 5.0.0-beta.1, < 5.0.0-beta.32 | 5.0.0-beta.32, 4.24.15 | osv |
| nextauthjs next-auth | < 4.24.15; >= 5.0.0-beta.4, < 5.0.0-beta.32 | — | cvelist |
| @auth core | < 0.41.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-73419. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-73419.md Affected: @auth/core < 0.41.3; next-auth >= 5.0.0-beta.1, < 5.0.0-beta.32 Fixed in: 0.41.3, 5.0.0-beta.32, 4.24.15 Steps: 1. Search this machine and project for @auth/core (npm), next-auth (npm), nextauthjs next-auth, @auth core: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-73419 being exploited?
There is no confirmed exploitation: CVE-2026-73419 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-73419?
Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-73419?
@auth/core < 0.41.3; next-auth >= 5.0.0-beta.1, < 5.0.0-beta.32.
Is there a fix for CVE-2026-73419?
Yes. Fixed in 0.41.3, 5.0.0-beta.32, 4.24.15. Upgrade @auth/core to 0.41.3 or later. Upgrade next-auth to one of 5.0.0-beta.32, 4.24.15 (or later in the same release line).
How do I check if I'm affected by CVE-2026-73419?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.