CVE-2026-118644
n8n before 2.41.5 and 2.42.2 Credential Theft via Error-Workflow Context Inheritance
5.1
Description
n8n before 2.41.5 and 2.42.x before 2.42.2 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 settings.errorWorkflow to an error workflow they own, inherit the colleague's identity when that workflow fails, and resolve the colleague's per-user dynamic credential secrets.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| n8n | n8n-io | 2.42.0 → <2.42.2 | 2.42.2 | CVE.org |
| n8n | n8n-io | 0 → <2.41.5 | 2.41.5 | CVE.org |