Technical impact
n8n before 2.41.5 passes a failed workflow’s full execution context, including the identity of the user who started the run, to the configured error workflow. A project editor can set a colleague’s workflow errorWorkflow to a workflow they own, inheriting the colleague’s identity when that workflow fails and revealing the colleague’s per‑user dynamic credential secrets. This flaw allows an attacker with permission to configure error workflows to steal credentials of other users.
Affected Systems
The vulnerability affects the n8n n8n automation platform for all versions prior to 2.41.5 and 2.42.2. It applies to deployments where project editors have the right to modify workflow settings and can define an errorWorkflow.
Risk and Exploitability
The CVSS score of 5.1 indicates moderate severity, and no EPSS score is available, so the exploitation likelihood is unknown. The flaw is not included in the CISA KEV catalog. An attacker requires at least project‑editor privileges to change the errorWorkflow setting; once configured, a failing workflow triggers the error workflow under the original user’s identity, allowing the attacker to access that user’s secrets.