Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-73418

published high CVSS 3.1 · 7.5

NextAuth.js: getToken() throws an uncaught exception on malformed Bearer authorization headers

Published
12 Aug 2026, 20:21:11 UTC
Updated
13 Aug 2026, 12:53:44 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
nextauthjs — next-auth>= 4.0.6, <= 4.24.14 · >= 5.0.0-beta.0, <= 5.0.0-beta.31 Affected Not stated GitHub_M
@auth — core>= 0.1.0, < 0.41.3 Affected Not stated GitHub_M

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
nextauthjs next-auth >= 4.0.6, <= 4.24.14 (affected)>= 5.0.0-beta.0, <= 5.0.0-beta.31 (affected) GitHub_M · cna
@auth core >= 0.1.0, < 0.41.3 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-20 CWE-20: Improper Input Validation (GitHub_M · cna)
  • CWE-248 CWE-248: Uncaught Exception (GitHub_M · cna)

References

7

Provider assertions

2

GitHub_M · cna

NextAuth.js: getToken() throws an uncaught exception on malformed Bearer authorization headers

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
3bd882b13618e03d64987da9c967232d23c33ed23c16425dce2836a89184e84c
Ingested
23 Sep 2026, 09:30:42 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected