{"id":"CVE-2026-118644","kind":"vulnerability","aliases":["CVE-2026-118644"],"related":[],"title":"n8n: failed-workflow error handler inherits another user's identity and credentials","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.","summary":"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.","severity":"high","cvss":7.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ai-tooling","multi-user","n8n","self-hosted","workflow-automation"],"not_affected_if":["no-per-user-credentials","single-user"],"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`\n- Review workflow settings for `errorWorkflow` values pointing to workflows owned by other users\n- 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\n- Rotate per-user dynamic credential secrets if an untrusted editor could have set an error workflow","status":"open","published_at":"2026-10-28T19:17:32+00:00","first_seen_at":"2026-10-28T19:34:55+00:00","triaged_at":"2026-10-28T19:35:59+00:00","updated_at":"2026-10-28T19:35:59+00:00","category":"ai-tooling","confidence":0.7,"triage":{"at":"2026-10-28T19:35:59Z","model":"claude-haiku-5-5","output":{"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\n- Rotate per-user dynamic credential secrets if an untrusted editor could have set an error workflow","reach":"network","title":"n8n: failed-workflow error handler inherits another user's identity and credentials","impact":"high","summary":"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.","category":"ai-tooling","nicknames":[],"who_cares":["n8n","self-hosted","multi-user","workflow-automation"],"confidence":0.7,"needs_auth":"yes","worst_case":"Attacker reads a colleague's per-user credential secrets via error workflow","analyst_note":"Confirm the exact fixed versions and whether per-user dynamic credentials are the only exposed secrets, using the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-118644.","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`\n- Review workflow settings for `errorWorkflow` values pointing to workflows owned by other users\n- unknown whether the sources describe a further check","needs_analyst":true,"not_affected_if":["single-user","no-per-user-credentials"],"who_is_affected":"Self-hosted or cloud n8n instances on the affected versions where more than one user shares a project and project editors can change workflow settings. Instances with a single user or with no per-user dynamic credentials have less exposure. unknown whether further conditions apply.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000665,"input_tokens":3358,"output_tokens":658,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-118644':16A,19A '-2026':15A,18A '2.41.5':86C '2.42':88C '2.42.2':91C 'ai':21B 'ai-tool':20B 'anoth':8A 'autom':32B 'colleagu':63B,76B,121C,133C,143C 'configur':54B,112C 'context':41B,99C 'credenti':13A,82B,149C 'cve':14A,17A 'dynam':81B,148C 'editor':59B,117C 'error':5A,55B,68B,113C,127C 'execut':40B,98C 'fail':3A,36B,94C,139C 'failed-workflow':2A 'full':39B,97C 'handler':6A 'host':29B 'ident':11A,44B,102C,135C 'includ':42B,100C 'inherit':7A,131C 'multi':24B 'multi-us':23B 'n8n':1A,26B,33B,84C 'pass':34B,92C 'per':79B,146C 'per-us':78B,145C 'point':61B 'project':58B,116C 'resolv':74B,141C 'run':51B,109C 'secret':83B,150C 'self':28B 'self-host':27B 'set':119C 'settings.errorworkflow':124C 'start':49B,107C 'tool':22B 'user':9A,25B,47B,80B,105C,147C 'workflow':4A,31B,37B,56B,65B,69B,95C,114C,123C,128C,138C 'workflow-autom':30B 'x':89C","nicknames":[],"mitigations":[],"who_affected":"Self-hosted or cloud n8n instances on the affected versions where more than one user shares a project and project editors can change workflow settings. Instances with a single user or with no per-user dynamic credentials have less exposure. unknown whether further conditions apply.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-28T19:17:32+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-118644","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118644","severity":null,"published_at":"2026-10-28T19:17:32+00:00","modified_at":"2026-10-28T19:17:32+00:00","first_seen_at":"2026-10-28T19:34:55+00:00","fetched_at":"2026-10-28T19:34:55+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}