# CVE-2026-73419: NextAuth.js: OAuth state, nonce, and PKCE check cookies are not bound to the provider that created them

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.25% (percentile 10, 2026-11-28)
- **CWE:** CWE-345, CWE-346, CWE-940
- **Aliases:** GHSA-x445-f3h2-j279
- **Published:** 2026-07-23T14:31:51.000Z
- **Modified:** 2026-09-10T03:50:53.095Z

## 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

## 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

- npm `@auth/core`: affected \< 0.41.3; fixed 0.41.3 (osv)
- npm `next-auth`: affected \>= 5.0.0-beta.1, \< 5.0.0-beta.32; fixed 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)

## 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).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- vendor: <https://github.com/nextauthjs/next-auth/security/advisories/GHSA-x445-f3h2-j279>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-73419>
- patch: <https://github.com/nextauthjs/next-auth/pull/13469>
- patch: <https://github.com/nextauthjs/next-auth/commit/5bca2399a79ba8d116ca5179b4b1ebcd152e7f05>
- patch: <https://github.com/nextauthjs/next-auth/commit/9f7a97fade9b1319bb9ac19fc9828d62e0a2a852>
- other: <https://github.com/nextauthjs/next-auth/releases/tag/@auth/core@0.41.3>
- other: <https://github.com/nextauthjs/next-auth/releases/tag/next-auth@4.24.15>
- other: <https://github.com/nextauthjs/next-auth/releases/tag/next-auth@5.0.0-beta.32>
- other: <https://github.com/nextauthjs/next-auth>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-73419>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-x445-f3h2-j279> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-73419> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-73419>
