patchminder
No public exploit found CVE-2026-73421

Broken access controlin NextAuth.js next-auth.

Published 13 Aug 2026 · Updated 18 Aug 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Critical 9.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.5% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 5.0.0-beta.32 or later
In plain words

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.

What to do now
  • Upgrade next-auth to 5.0.0-beta.32 or later.
  • Upgrade next-auth (npm) to 5.0.0-beta.32 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
next-auth
5.0.0-beta.4 to before 5.0.0-beta.32
5.0.0-beta.32
CVE record
next-auth (npm)
5.0.0-beta.0 to before 5.0.0-beta.32
5.0.0-beta.32
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 12 Aug 2026
    CVE ID reserved by GitHub_M.
  2. 13 Aug 2026
    Published in the CVE List.
  3. 18 Aug 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other next-auth vulnerabilities

Same weakness: Improper authorization

All CWE-285 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-73421: Broken access control in NextAuth.js next-auth. https://patchminder.com/cve/cve-2026-73421/ (accessed 5 December 2026).