製品・ソフトウェアに関する情報
n8nにおけるSQL インジェクションの脆弱性
Title n8nにおけるSQL インジェクションの脆弱性
Summary

n8nはオープンソースのワークフロー自動化プラットフォームです。バージョン1.123.32、2.17.4、および2.18.1より前のバージョンにおいて、Oracle Databaseノードのselect操作に脆弱性が存在していました。この脆弱性は、Limitフィールドに式を介して渡されるユーザー制御の入力が、サニタイズやパラメータ化されることなく直接SQLクエリに埋め込まれてしまうものでした。Webhookなどの外部入力がLimitフィールドに渡されるワークフローにおいて、攻撃者は任意のSQLを注入し、接続されたOracleデータベースからデータを不正に持ち出す可能性がありました。この問題はバージョン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 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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-42233
Summary

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, a flaw in the Oracle Database node's select operation allowed user-controlled input passed into the Limit field via expressions to be interpolated directly into the SQL query without sanitization or parameterization. In workflows where external input is passed into the Limit field (e.g., from a webhook), an attacker could inject arbitrary SQL and exfiltrate data from the connected Oracle database. 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:07 a.m.
Last Update May 7, 2026, 3:07 a.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