CVE-2026-42226 Details
Description
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.
A vulnerability exists in n8n versions prior to 1.123.33 and 2.17.5, where the dynamic-node-parameters endpoints failed to properly verify if the authenticated user was authorized to use a specified credential reference. This flaw allowed an authenticated user with access to a shared workflow to inject a foreign credential ID into the request body. The backend would then decrypt and utilize that credential in a helper execution path, where the user could also dictate the destination URL. As a result, the user could compel the backend to authenticate against infrastructure controlled by the attacker, using a credential from another user, thereby exfiltrating a reusable API key. This vulnerability affects any node that dynamically resolves credentials through these endpoints.
Users should upgrade to n8n version 2.18.0 or later. If an immediate upgrade is not possible, restrict n8n access to trusted users only and avoid sharing workflows that reference sensitive credentials with users who should not have access to them.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-r4v6-9fqc-w5jr | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n n8n | < 1.123.33 >= 2.17.0, < 2.17.5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 6, 2026 | Initial Analysis | [email protected] |
| May 4, 2026 | New CVE Received | [email protected] |