WR 株式会社WR 松戸のホームページ制作・社内システム・IT相談

株式会社WR

千葉県松戸市
松戸・柏・市川・流山・船橋 対応

ホーム›脆弱性情報›Next.js›CVE-2026-73418

重要 CVSS 7.5 Next.js CVE-2026-73418 公表 2026年8月12日

Next.jsの認証処理で停止しやすい不具合

Next.js — CVE-2026-73418

自分のサイトが該当するか無料診断 → 原文を見る(NVD(米国 脆弱性データベース))↗

どんな問題か

不正な形式のBearerヘッダーを受け取ると、認証用の関数が例外で止まる問題です。正しいかどうかを確認する前に落ちるため、1回のリクエストで処理が失敗することがあります。

放置するとどうなるか

APIや画面の一部がエラーになり、サービスが使えなくなるおそれがあります。情報漏えいは確認されていません。

今すぐやること

@auth/core 0.41.3、next-auth 4.24.15、5.0.0-beta.32 以降へ更新してください。APIルートやミドルウェアで認証を使っている場合は特に早急に対応しましょう。

自分のサイトが該当するかの確認手順

  1. お使いのサーバー・プログラムに Next.js が使われているか、制作会社・保守会社・サーバー会社に確認します(管理画面やサーバーのバージョン表示でも分かります)。
  2. バージョンが「@auth/core 0.41.3より前、next-auth 4.24.15より前、5.0.0-beta.32より前」に当てはまるか確認します。
  3. 当てはまる場合は、修正版へのアップデートを依頼します。レンタルサーバーの場合はサーバー会社側で対応済みのこともあるので、お知らせを確認してください。
原文(英語)を表示
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.

※ 解説は NVD(米国 脆弱性データベース) の公表内容をもとにAIが生成しています。対象バージョン・修正版などの正確な情報は、必ず原文をご確認ください。

無料で相談する →