Live threats

All CVEs / nextauthjs

CVE-2026-73418nextauthjs next-auth

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Aug 12, 2026
Updated
Sep 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-248
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for next-auth.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @auth/core ≥ 0.1.0 < 0.41.3 0.41.3 npm install @auth/core@0.41.3
npm next-auth ≥ 5.0.0-beta.0 < 5.0.0-beta.32 5.0.0-beta.32 npm install next-auth@5.0.0-beta.32
npm next-auth ≥ 4.0.6 < 4.24.15 4.24.15 npm install next-auth@4.24.15

Per OSV / GitHub Advisories (GHSA-xmf8-cvqr-rfgj). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.