製品・ソフトウェアに関する情報
n8nにおけるオープンリダイレクトの脆弱性
Title n8nにおけるオープンリダイレクトの脆弱性
Summary

n8nはオープンソースのワークフロー自動化プラットフォームです。バージョン1.123.32、2.17.4、および2.18.1より前のバージョンでは、/mcp-oauth/registerエンドポイントが認証なしでOAuthクライアント登録を受け付けており、任意のredirect_uri値を登録できました。ユーザーがMCP OAuth同意ダイアログで拒否を選択すると、handleDenyハンドラが登録されたredirect_uriへ検証なしにリダイレクトを行い、攻撃者が制御するURLへオープンリダイレクトを可能にしていました。攻撃者はフィッシングリンクを作成して被害者に送信でき、被害者が同意ページで「拒否」をクリックすると、静かに外部サイトへリダイレクトされる可能性があります。この問題はバージョン1.123.32、2.17.4、および2.18.1で修正されています。

Possible impacts 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 4, 2026, midnight
Registration Date May 8, 2026, 12:22 p.m.
Last Update May 8, 2026, 12:22 p.m.
CVSS3.0 : 警告
Score 6.1
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected System
n8n
n8n 1.123.32 未満
n8n 2.17.0 以上 2.17.4 未満
n8n 2.18.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月08日]
  掲載
May 8, 2026, 12:22 p.m.

NVD Vulnerability Information
CVE-2026-42230
Summary

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, the /mcp-oauth/register endpoint accepted OAuth client registrations without authentication, allowing arbitrary redirect_uri values to be registered. When a user denies the MCP OAuth consent dialog, the handleDeny handler redirects the user to the registered redirect_uri without validation, enabling an open redirect to an attacker-controlled URL. An attacker can craft a phishing link and send it to a victim; if the victim clicks "Deny" on the consent page, they are silently redirected to an external site. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.

Publication Date May 5, 2026, 4:16 a.m.
Registration Date May 6, 2026, 4:06 a.m.
Last Update May 6, 2026, 11:57 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* 1.123.32
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* 2.17.0 2.17.4
cpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:*
Related information, measures and tools
Common Vulnerabilities List