Unauthorized Request Handling Vulnerability in NextAuth.js Authentication for Next.js
CVE-2026-73418

7.5HIGH

Key Information:

Vendor

Nextauthjs

Vendor
CVE Published:
12 August 2026

What is CVE-2026-73418?

NextAuth.js, an authentication provider for Next.js, has a vulnerability in its getToken() helper that may throw an uncaught exception when processing a malformed Authorization: Bearer header. Specifically, this occurs if there is no session cookie present, leading to a scenario where the bearer value is URL-decoded before validation. Maliciously crafted percent-encoded strings can trigger this issue, potentially causing a per-request denial of service in API routes, middleware, or server-side request handlers without exposing sensitive information or bypassing authentication. The vulnerability has been addressed in versions @auth/core 0.41.3, next-auth 4.24.15, and 5.0.0-beta.32.

Affected Version(s)

core >= 0.1.0, < 0.41.3

next-auth >= 4.0.6, <= 4.24.14 <= 4.0.6, 4.24.14

next-auth >= 5.0.0-beta.0, <= 5.0.0-beta.31 <= 5.0.0-beta.0, 5.0.0-beta.31

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.