Description
n8n versions before 2.34.1 contain a credential validation bypass in the MCP create_workflow_from_code tool when authentication type is set to an expression. Attackers with a valid MCP Bearer API key and knowledge of a target credential ID can persist unauthorized cross-project credential references on workflows in different projects.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-639 — Authorization Bypass Through User-Controlled Key
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n8n-io | n8n | 0 to <2.34.1; 2.34.1 |
| n8n-io | n8n | 0 to <2.33.4; 2.33.4 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-vfrj-582q-mvcp (vendor-advisory)
- https://www.vulncheck.com/advisories/n8n-before-cross-project-credential-access-via-mcp (third-party-advisory)
Generated from the official CVE List on 21 Aug 2026 07:00 UTC.