CVE-2026-73419
NextAuth.js: OAuth state, nonce, and PKCE check cookies are not bound to the provider that created them
Check your servers for CVE-2026-73419
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-73419 affects core, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.43% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 13 Aug 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-345 Insufficient Verification of Data Authenticity
- CWE-346 Origin Validation Error
- CWE-940 Improper Verification of Source of a Communication Channel
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| next-auth |
affected < 4.24.15 affected >= 5.0.0-beta.4, < 5.0.0-beta.32
|
| core |
affected < 0.41.3
|
Is my server affected?
Find the installed version of core and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i core
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-73419 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-73419RHEL, Rocky, Alma, Fedora
rpm -q core
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-73419Alpine
apk list --installed | grep -i coreWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-73419
trivy image --scanners vuln IMAGE | grep CVE-2026-73419
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/nextauthjs/next-auth/pull/13469 github.com
- https://github.com/nextauthjs/next-auth/commit/5bca2399a79ba8d116ca5179b4b1ebcd152e7f05 github.com
- https://github.com/nextauthjs/next-auth/commit/9f7a97fade9b1319bb9ac19fc9828d62e0a2a852 github.com
- https://github.com/nextauthjs/next-auth/releases/tag/@auth/core@0.41.3 github.com
- https://github.com/nextauthjs/next-auth/releases/tag/next-auth@4.24.15 github.com
- https://github.com/nextauthjs/next-auth/releases/tag/next-auth@5.0.0-beta.32 github.com
Source: the record CVE-2026-73419 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse