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

株式会社WR

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

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

警告 CVSS 6.8 Next.js CVE-2026-73419 公表 2026年8月12日

Next.jsの認証連携に不備

Next.js — CVE-2026-73419

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

どんな問題か

Next.jsで使う認証機能に、別のログイン先と取り違える問題があります。複数の認証方法を使っていてアカウント連携を許可していると、意図しない連携が起きるおそれがあります。

放置するとどうなるか

攻撃者のアカウントが被害者のアカウントにひも付く可能性があります。その結果、被害者として不正にログインされ続けるおそれがあります。

今すぐやること

@auth/core 0.41.3、next-auth 4.24.15、5.0.0-beta.32 以降へ更新してください。複数プロバイダを使うサイトは、アカウント連携の設定も見直しましょう。

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

  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, Auth.js stores the OAuth/OIDC anti-CSRF checks state, nonce, and the PKCE verifier in global cookies that are not bound to the provider that created them. On callback, a check value minted during a sign-in started with one provider can satisfy the callback for a different provider because the stored cookie is not verified against the callback provider's identity, including the provider ID, issuer, client ID, or redirect URI. In a multi-provider application that permits account linking while logged in, when one provider's authorization request is observable and a target provider callback can be satisfied without a PKCE verifier, an attacker can lure a victim into starting a legitimate same-origin flow and link the attacker's target-provider account to the victim's Auth.js user. The linked provider grants the attacker persistent sign-in to the victim's account, while cross-site request forgery alone is insufficient. This issue is fixed in @auth/core 0.41.3 and next-auth 4.24.15 and 5.0.0-beta.32.

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

無料で相談する →