High severity · published Oct 28, 2026
CVE-2026-118644
n8n before 2.41.5 and 2.42.2 Credential Theft via Error-Workflow Context Inheritance
New
7.7
CVSS
–
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
N8
n8n · n8n-io
2.42.0 before 2.42.2; before 2.41.5 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-118644
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-118644
vendor-advisory
https://github.com/n8n-io/n8n/security/advisories/GHSA-pcr3-v5vr-qppf
third-party-advisory
https://www.vulncheck.com/advisories/n8n-before-2.41.5-and-2.42.2-credential-theft-via-error-workflow-context-inheritance
More from n8n
8.8
CVE-2025-68613
n8n Vulnerable to Remote Code Execution via Expression Injection
10.0
CVE-2026-54309
n8n: n8n MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control Sessions
10.0
CVE-2026-21858
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
9.9
CVE-2026-85165
n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement
9.9
CVE-2026-72765
n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape
