In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsThere is no fixed version for n8n
.
n8n is a n8n Workflow Automation Tool
Affected versions of this package are vulnerable to Command Injection via the Execute Command
node. An attacker can execute arbitrary commands on the host system by leveraging access to an authenticated user account, potentially leading to data exfiltration, service disruption, or full system compromise.
Note:
This is only exploitable if the Execute Command
node is enabled and not all user accounts are strictly controlled and trusted.
This issue does not impact n8n.cloud
.
As per maintainers' memo: "No code changes have been made to alter the behavior of the Execute Command node. The recommended mitigation is to disable the node by default in environments where it is not explicitly required. Future n8n versions may change the default availability of this node."
##Workaround
This vulnerability can be mitigated by disabling the Execute Command
node before n8n start using the environment variable: export NODES_EXCLUDE: "[\"n8n-nodes-base.executeCommand\"]"
.