PT-2026-71920

CVE-2026-73421

·

Published

2026-07-23

·

Updated

2026-09-18

Description by

CVSS 4.0
9.1
Critical
MetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions next-auth versions 5.0.0-beta.0 through 5.0.0-beta.31
Description Applications using the auth() wrapper to gate access by checking only for the existence of the returned object can fail open during server configuration errors. In middleware, Route Handlers, and React Server Components, a non-OK session response is parsed as a truthy error object rather than null. Consequently, checks like !!auth or if (req.auth) evaluate to true for unauthenticated requests. This behavior is triggered by server configuration errors, such as an unset AUTH SECRET or a provider missing both the issuer and authorization endpoints, which triggers InvalidEndpoints. When a deployment is misconfigured, routes protected solely by session existence grant access to all visitors.
Recommendations Update to next-auth version 5.0.0-beta.32.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-8FPG-XM3F-6CX3
Found an issue in the description? Have something to add? Feel free to write us 👾