Skip to content
High 7.7

n8nの式サンドボックスに脱出される脆弱性、本体プロセスで任意のコードを実行されるおそれ

GHSA-w6f8-8qh4-h3j4 First seen on SecPulse

Summary

n8nのワークフロー式を評価する隔離環境に脆弱性があり、ワークフローを作成・実行できる利用者が、n8n本体プロセスで任意のコードを実行できるおそれがあります。影響を受けるのは2.49.2未満、3.4.0未満のn8n、およびpc版の2.47.6-pc・2.48.3-pc・3.2.2-pcより前の版です。修正版はn8nの2.49.2・3.4.0以降とpc版の各修正版で、速やかな更新が必要です。すぐに更新できない場合は、信頼できる利用者に利用を限り、ワークフローの作成・編集権限を外してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

n8nのワークフロー式を評価する隔離環境に脆弱性があり、ワークフローを作成・実行できる利用者が、n8n本体プロセスで任意のコードを実行できるおそれがあります。影響を受けるのは2.49.2未満、3.4.0未満のn8n、およびpc版の2.47.6-pc・2.48.3-pc・3.2.2-pcより前の版です。修正版はn8nの2.49.2・3.4.0以降とpc版の各修正版で、速やかな更新が必要です。すぐに更新できない場合は、信頼できる利用者に利用を限り、ワークフローの作成・編集権限を外してください。

Affected packages

PackageAffected → Fixed
npmn8n
< 2.49.2→ >= 2.49.2
dockern8nio/n8n
< 3.4.0→ >= 3.4.0
Original description The description as published by the source.

Impact

n8n evaluated workflow expressions in a sandboxed V8 isolate. A flaw in how the V8 engine bundled with n8n internalized certain strings let a crafted expression corrupt memory and escape that isolate. A user who could create and run workflows could use it to run arbitrary code in the main n8n process, with the privileges of the n8n service user.

Patches

The issue has been fixed in the n8n Docker images for versions 2.49.2 and 3.4.0, and in the pointer-compression images (-pc tags) 2.47.6-pc, 2.48.3-pc and 3.2.2-pc. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Remove workflow creation and editing access from any users who are not fully trusted until the instance is patched.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details