CVE-2026-73418: NextAuth.js: getToken() throws an uncaught exception on malformed Bearer authorization headers
nextauthjs · next-auth
Affected: nextauthjs next-auth · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 59% of scored CVEs
DescriptionCVE.org
NextAuth.js provides authentication for Next.js. Prior to @auth/core 0.41.3 and next-auth 4.24.15 and 5.0.0-beta.32, the exported getToken() helper in the next-auth/jwt and @auth/core/jwt modules can throw an uncaught exception when it reads a malformed Authorization: Bearer header. When no session cookie is present, getToken() URL-decodes the bearer value before validating it, and malformed percent encoding causes decodeURIComponent() to throw instead of treating the token as invalid. Because getToken() is commonly called in API routes, middleware, and server-side request handlers, a single unauthenticated request can trigger an unhandled exception in code paths that authenticate requests, causing a per-request denial of service without exposing tokens, sessions, or other data and without bypassing authentication. This issue is fixed in @auth/core 0.41.3 and next-auth 4.24.15 and 5.0.0-beta.32.
Affected products2
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- nextauthjs · next-auth>= 4.0.6, <= 4.24.14; >= 5.0.0-beta.0, <= 5.0.0-beta.31
- @auth · core>= 0.1.0, < 0.41.3
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- nextauthjs
- Published
- August 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-73418 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-248cwe.mitre.org
- github.com/nextauthjs/next-auth/security/advisories/GHSA-xmf8-cvgithub.com
- github.com/nextauthjs/next-auth/pull/13469github.com
- github.com/nextauthjs/next-auth/commit/5bca2399a79ba8d116ca5179bgithub.com
- github.com/nextauthjs/next-auth/commit/e707770f00c52b3479e43422bgithub.com
- github.com/nextauthjs/next-auth/releases/tag/%40auth%2Fcore%400.github.com
- github.com/nextauthjs/next-auth/releases/tag/next-auth%404.24.15github.com
- github.com/nextauthjs/next-auth/releases/tag/next-auth%405.0.0-bgithub.com