Skip to content
High 7.7

n8nのワークフロー式評価に隔離の不備の脆弱性、ホスト上で任意のコードを実行されるおそれ

GHSA-gx3v-3x3v-f8r5 First seen on SecPulse

Summary

ワークフローを作成・変更できる権限を持つ認証済みユーザーが、式評価の隔離を回避してn8nのホスト上で任意のコードを実行できる脆弱性です。修正版はn8n 1.123.89、2.45.5、2.46.1、3.0.1で、これらまたはそれ以降へのアップデートが必要です。すぐにアップデートできない場合は、信頼できるユーザーだけに利用を限定し、信頼されていないユーザーの global:member 権限を外してください。

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 1.123.89、2.45.5、2.46.1、3.0.1で、これらまたはそれ以降へのアップデートが必要です。すぐにアップデートできない場合は、信頼できるユーザーだけに利用を限定し、信頼されていないユーザーの global:member 権限を外してください。

Affected packages

PackageAffected → Fixed
npmn8n
< 1.123.89→ >= 1.123.89
npmn8n
< 2.46.1→ >= 2.46.1
npmn8n
< 2.45.5→ >= 2.45.5
npmn8n
< 3.0.1→ >= 3.0.1
Original description The description as published by the source.

Impact

An authenticated user with permission to create or modify workflows could escape the isolation applied to workflow expression evaluation and execute arbitrary code on the n8n host.

Patches

The issue has been fixed in n8n versions 1.123.89, 2.45.5, 2.46.1 and 3.0.1. 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 global:member access from any users who are not fully trusted until the instance is patched.
  • Audit active workflows for expressions that reference unexpected JavaScript properties.
  • Use the NODES_EXCLUDE environment variable and instance hardening settings to limit the attack surface of the running instance.

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