CVE-2026-118644

n8n before 2.41.5 and 2.42.2 Credential Theft via Error-Workflow Context Inheritance

State
Published
Severity
5.1 Medium
Published
Oct 28, 2026
Updated
Oct 28, 2026
Reserved
Oct 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.1 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:H/SI:H/SA:NVulnCheck
3.17.7 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:NVulnCheck

Weaknesses

  • CWE-266 Incorrect Privilege Assignment

Affected Products

ProductVersions
n8nn8n-io
  • 2.42.0 to before 2.42.2Affected
  • 2.42.2Not affected
n8nn8n-io
  • before 2.41.5Affected
  • 2.41.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.