CVE-2026-42226 · GitHub_M
n8n: Credential Authorization Bypass in dynamic-node-parameters Allows Foreign API Key Replay
n8n is an open source workflow automation platform. Prior to versions 1.123.33 and 2.17.5, the dynamic-node-parameters endpoints did not verify whether the authenticated caller was authorized to use a supplied credential reference. An authenticated user with access to a shared workflow could supply a foreign credential ID in the request body, causing the backend to decrypt and use that credential in a helper execution path where the caller also controls the destination URL. This allowed the caller to force the backend to authenticate against attacker-controlled infrastructure using a credential belonging to another user, effectively exfiltrating a reusable API key. The issue is not limited to any single node type; any node that resolves credentials dynamically through these endpoints may be affected. This issue has been patched in versions 1.123.33, 2.17.5, and 2.18.0.
Published 2026-05-04, last changed 2026-11-11. Weakness: CWE-862.
How to fix
Upgrade to a fixed version: n8n 1.123.33, 2.17.5 (npm) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2026-04-29 | Package advisory GHSA-r4v6-9fqc-w5jr |
| 2026-05-04 | Published |
| 2026-11-11 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.42% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-r4v6-9fqc-w5jr | n8n (npm) | 2.17.5 |
| GHSA-r4v6-9fqc-w5jr | n8n (npm) | 1.123.33 |
Also known as: GHSA-r4v6-9fqc-w5jr
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-86996 | 2026-09-08 | 5.4 | n8n: Agent Workflow Tool Bypasses Sub-Workflow Caller Policy |
| CVE-2026-86995 | 2026-09-08 | 4.3 | n8n: Git Node branch. .remote Config Key Bypasses Sandbox Path Restriction, Enabling Local Git Repository Read |
| CVE-2026-86994 | 2026-09-08 | 4.3 | n8n: Cross-User Active Workflow ID and Lifecycle Event Disclosure via Missing userId Filter |
| CVE-2026-86993 | 2026-09-08 | 4.9 | n8n: Log Streaming Event Destinations Decrypt Generic-Auth Credentials Without Ownership Check |
| CVE-2026-86085 | 2026-09-08 | 4.9 | n8n: Cross-Tenant Project-Member PII Disclosure via Missing Per-Project Scope Check on Role Assignment Endpoints |
| CVE-2026-86084 | 2026-09-08 | 5.5 | n8n: Disabled OIDC SSO Endpoints Remain Active and Issue Valid Sessions |
| CVE-2026-86083 | 2026-09-08 | 8.8 | n8n: Expression Sandbox Escape via Shared Builtin Tampering and Code-Printer Injection Leads to Code Execution |
| CVE-2026-86082 | 2026-09-08 | 6.5 | n8n: Domain-Restriction Bypass via Unguarded Model-Search Endpoint in OpenAI Chat Model Node |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2026-42226, or call /api/v1/vulnerabilities/CVE-2026-42226. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.