---
id: "CVE-2026-118644"
kind: "vulnerability"
aliases: ["CVE-2026-118644"]
title: "n8n: failed-workflow error handler inherits another user's identity and credentials"
severity: "high"
cvss: 7.7
epss: null
exploited: false
status: "open"
category: "ai-tooling"
products: []
ecosystems: []
tags: ["ai-tooling", "multi-user", "n8n", "self-hosted", "workflow-automation"]
not_affected_if: ["no-per-user-credentials", "single-user"]
published_at: "2026-10-28T19:17:32+00:00"
first_seen_at: "2026-10-28T19:34:55+00:00"
updated_at: "2026-10-28T19:35:59+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118644", "first_seen_at": "2026-10-28T19:34:55+00:00"}]
---

# n8n: failed-workflow error handler inherits another user's identity and credentials

n8n 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 point a colleague's workflow at an error workflow they own and then resolve the colleague's per-user dynamic credential secrets.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the n8n version with `n8n --version`; affected builds are before `2.41.5` and `2.42.x` before `2.42.2`
- Review workflow settings for `errorWorkflow` values pointing to workflows owned by other users
- unknown whether the sources describe a further check

## Fix

- Upgrade n8n to `2.41.5` or later on the 2.41 line, or to `2.42.2` or later on the 2.42 line
- Rotate per-user dynamic credential secrets if an untrusted editor could have set an error workflow

## Timeline

- 2026-10-28T19:34:55+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-118644

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
