CVE-2026-73418CWE-20CWE-248

CVE-2026-73418

High · published August 13, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
58.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00877 · 58.6th percentile
Weaknesses
CWE-20 · Improper Input Validation; CWE-248 · Uncaught Exception
Published
2026-08-13T01:17Z
References (7)
EPSS history
Timeline
  • 12 AUG 20:21Z
    NextAuth.js: getToken() throws an uncaught exception on malformed Bearer authorization headers
    cvelistv5