本文へ移動
English version →
中 5.1

Per-User Credential Theft via Error-Workflow Execution Context Inheritance

GHSA-pcr3-v5vr-qppf SecPulse初出

概要

Impact

When a workflow fails, n8n runs the workflow named in its error-workflow setting and hands it the failed run's execution context, including the carrier that binds the run to the user who started it. A project editor could point a colleague's workflow at an error workflow they own, inherit...

影響パッケージ

種類パッケージ影響を受ける版直った版
npm n8n
< 2.42.2
>= 2.42.2
npm n8n
< 2.41.5
>= 2.41.5
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

Impact

When a workflow fails, n8n runs the workflow named in its error-workflow setting and hands it the failed run's execution context, including the carrier that binds the run to the user who started it. A project editor could point a colleague's workflow at an error workflow they own, inherit the colleague's identity in their own execution, and resolve that user's per-user credential secrets. The error workflow now receives only non-identity fields.

Patches

The issue has been fixed in n8n versions 2.42.2 and 2.41.5. 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.
  • Audit team project memberships and remove editor access from any users who are not fully trusted.
  • Review all active workflows and audit the settings.errorWorkflow field for unexpected values.
  • Disable the dynamic credentials feature if it is not required.

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

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

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく