Skip to content
HighVulnerability

GHSA-365g-vjw2-grx8: n8n: Execute Command Node Allows Authenticated Users to Run Arbitrary Commands on Host

Published
Record updated
View JSON
Affected
  • n8n-nodes-base <= 1.113.0
  • n8n <= 1.114.4
Fixed in
No fixed version was stated when the source was last read.

Summary

The Execute Command node in n8n lets authenticated users run arbitrary commands on the host where n8n runs. Exploitation requires the node to be enabled and user accounts that are not strictly controlled and trusted, and it could enable data exfiltration, service disruption, or full system compromise. n8n.cloud is not affected.

Mitigation

No code changes have been made to the node's behavior. The recommended mitigation is to disable the Execute Command node by default where it is not explicitly required. Administrators can disable it by setting the environment variable NODES_EXCLUDE to ["n8n-nodes-base.executeCommand"] before starting n8n.