CVE-2026-73421: Vulnerability in next-auth

Critical. NextAuth.js provides authentication for Next.js. From next-auth 5.0.0-beta.0 until 5.0.0-beta.32, applications that gate access by checking only for the existence of the auth object returned by the auth() wrapper can fail open when Auth.js has a server configuration error. In middleware, Route Handlers, React Server Components, and other auth() entry points, a non-OK session response is parsed into a truthy error...

npm, CWE-285, CWE-636

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-8fpg-xm3f-6cx3
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-285, CWE-636
Published
23 Jul 2026
Last change
18 Sept 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • next-auth npm, Affected from 5.0.0-beta.0 through 5.0.0-beta.31. Fixed in 5.0.0-beta.32

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes