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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n8n-io n8n
Default version status: unaffected
2.34.0 to < 2.34.1affected2.34.1unaffected
pkg:npm/n8nn8n-io n8n
Default version status: unaffected
2.0.0 to < 2.33.4affected2.33.4unaffected
pkg:npm/n8n