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

n8nはオープンソースのワークフロー自動化プラットフォームです。バージョン1.123.32、2.17.4、2.18.1より前のバージョンでは、Pythonコードノードを含むワークフローを作成または変更する権限を持つ認証済みユーザーがサンドボックスを脱出し、タスクランナーコンテナ上で任意のコードを実行する可能性がありました。この問題はPythonタスクランナーが有効になっているインスタンスにのみ影響します。この問題はバージョン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 8.8
Vector CVSS:3.0/AV:N/AC:L/PR:L/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-42234
Summary

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, an authenticated user with permission to create or modify workflows containing a Python Code Node could escape the sandbox and achieve arbitrary code execution on the task runner container. This issue only affects instances where the Python Task Runner is enabled. 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:05 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