{"id":"CVE-2026-118644","state":"PUBLISHED","title":"n8n before 2.41.5 and 2.42.2 Credential Theft via Error-Workflow Context Inheritance","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.","publishedAt":"2026-10-28T18:59:44.266Z","updatedAt":"2026-10-28T18:59:44.266Z","severity":{"score":5.1,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["n8n-io n8n"],"affected":[{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"2.42.0","status":"affected","lessThan":"2.42.2","versionType":"semver"},{"version":"2.42.2","status":"unaffected","versionType":"semver"}]},{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.41.5","versionType":"semver"},{"version":"2.41.5","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-pcr3-v5vr-qppf","https://www.vulncheck.com/advisories/n8n-before-2.41.5-and-2.42.2-credential-theft-via-error-workflow-context-inheritance"],"weaknesses":["CWE-266"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118644.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118644","state":"PUBLISHED","datePublished":"2026-10-28T18:59:44.266Z","dateUpdated":"2026-10-28T18:59:44.266Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-28T17:24:54.846Z"},"containers":{"cna":{"title":"n8n before 2.41.5 and 2.42.2 Credential Theft via Error-Workflow Context Inheritance","descriptions":[{"lang":"en","value":"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":[{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"2.42.0","status":"affected","lessThan":"2.42.2","versionType":"semver"},{"version":"2.42.2","status":"unaffected","versionType":"semver"}]},{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.41.5","versionType":"semver"},{"version":"2.41.5","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-pcr3-v5vr-qppf","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-pcr3-v5vr-qppf)"},{"url":"https://www.vulncheck.com/advisories/n8n-before-2.41.5-and-2.42.2-credential-theft-via-error-workflow-context-inheritance","name":"VulnCheck Advisory: n8n before 2.41.5 and 2.42.2 Credential Theft via Error-Workflow Context Inheritance","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":5.1,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-266","lang":"en","description":"Incorrect Privilege Assignment","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-28T18:59:44.266Z"},"datePublic":"2026-10-14T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*","versionStartIncluding":"2.42.0","versionEndExcluding":"2.42.2"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*","versionEndExcluding":"2.41.5"}]}]}],"credits":[{"lang":"en","value":"sm1ee","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}