CVE-2026-73421
Last modified
CVE-2026-73421 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.64% chance of exploitation in the next 30 days.
Description
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 object instead of null, so checks such as !!auth and if (req.auth) evaluate to true for unauthenticated requests. A provider missing both the issuer and authorization endpoint triggers InvalidEndpoints, and an unset AUTH_SECRET or another server configuration error can produce the same behavior. There is no impact while configuration is valid, but after a deployment becomes misconfigured, routes protected only by session existence silently grant access to every visitor. This issue is fixed in next-auth 5.0.0-beta.32.
Metrics
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 Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| nextauthjs | next-auth | >= 5.0.0-beta.4, < 5.0.0-beta.32 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-73421?
How severe is CVE-2026-73421?
How do I fix CVE-2026-73421?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-73416jupyterlab is an extensible environment for interactive and …6.1
- CVE-2026-73417jupyterlab is an extensible environment for interactive and …8.6
- CVE-2026-73418NextAuth.js provides authentication for Next.js. Prior to @a…7.5
- CVE-2026-73419NextAuth.js provides authentication for Next.js. Prior to@au…6.8
- CVE-2026-7342Use after free in WebView in Google Chrome on Android prior …8.8
- CVE-2026-73420NextAuth.js provides authentication for Next.js. Prior to @a…9.1
- CVE-2026-73422Astro is a web framework for content-driven websites. From 2…5.3
- CVE-2026-73423Astro is a web framework for content-driven websites. From 7…5.1
- CVE-2026-73424Astro is a web framework for content-driven websites. From 1…6.5
- CVE-2026-73425Astro is a web framework for content-driven websites. Prior …3.7
- CVE-2026-73426Trix is a what-you-see-is-what-you-get rich text editor for …4.6
- CVE-2026-73427Trix is a what-you-see-is-what-you-get rich text editor for …2.1
Are you affected by CVE-2026-73421?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
