{"id":"EUVD-2026-58523","enisaUuid":"695b7f96-2e84-3fc3-8b0a-4e49039d3d35","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.","datePublished":"Aug 13, 2026, 10:04:36 PM","dateUpdated":"Aug 18, 2026, 1:45:41 AM","baseScore":9.1,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/nextauthjs/next-auth/security/advisories/GHSA-8fpg-xm3f-6cx3\nhttps://github.com/nextauthjs/next-auth/commit/d008b9b764bf4b322a87e1822d1dda7789258d8f\nhttps://github.com/nextauthjs/next-auth/releases/tag/next-auth@5.0.0-beta.32\n","aliases":"CVE-2026-73421\nGHSA-8fpg-xm3f-6cx3\n","assigner":"GitHub_M","epss":0.64,"enisaIdProduct":[{"id":"c58af026-4209-3d98-88dd-b2ebca1c64f0","product":{"name":"next-auth","vendor":{"name":"nextauthjs"}},"product_version":"5.0.0-beta.4, \u003c 5.0.0-beta.32"}],"enisaIdVendor":[{"id":"7802f903-29bd-3fc9-86cc-97c92911ac4a","vendor":{"name":"nextauthjs"}}],"enisaIdVulnerability":[{"id":"c01f686d-9ad1-3d82-aaad-fd2274212ecd","vulnerability":{"id":"CVE-2026-73421","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.","datePublished":"Aug 13, 2026, 10:04:36 PM","dateUpdated":"Aug 18, 2026, 1:45:41 AM","status":"PUBLISHED","baseScore":9.1,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/nextauthjs/next-auth/security/advisories/GHSA-8fpg-xm3f-6cx3\nhttps://github.com/nextauthjs/next-auth/commit/d008b9b764bf4b322a87e1822d1dda7789258d8f\nhttps://github.com/nextauthjs/next-auth/releases/tag/next-auth@5.0.0-beta.32\n","enisa_id":"EUVD-2026-58523\n","assigner":"GitHub_M","epss":0.64,"dataProcessed":"Nov 13, 2026, 7:18:52 AM","vulnerabilityProduct":[{"id":"494c9960-dc9a-3c4f-b969-ef74fa81c59e","product":{"name":"next-auth","vendor":{"name":"nextauthjs"}},"product_version":"5.0.0-beta.4, \u003c 5.0.0-beta.32"}],"vulnerabilityVendor":[{"id":"8fcdbce9-368b-3b17-be9f-48a80d1d7420","vendor":{"name":"nextauthjs"}}]}},{"id":"ddd21521-e56f-3af4-90b0-cb735fffac58","vulnerability":{"id":"GHSA-8fpg-xm3f-6cx3","description":"Auth.js: Configuration errors can cause existence-based auth checks to fail open (auth object populated with an error)","datePublished":"Jul 23, 2026, 2:52:23 PM","dateUpdated":"Aug 12, 2026, 8:31:20 PM","baseScore":0.0,"references":"https://github.com/nextauthjs/next-auth/security/advisories/GHSA-8fpg-xm3f-6cx3\nhttps://github.com/nextauthjs/next-auth/commit/d008b9b764bf4b322a87e1822d1dda7789258d8f\nhttps://github.com/nextauthjs/next-auth\nhttps://github.com/nextauthjs/next-auth/releases/tag/next-auth@5.0.0-beta.32\n","enisa_id":"EUVD-2026-58523\n","aliases":"CVE-2026-73421\nGHSA-8fpg-xm3f-6cx3\n","epss":0.0,"dataProcessed":"Nov 9, 2026, 3:50:23 PM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}