n8n: Authenticated code execution
Affects n8nSource GCVE Database
CVSS 8.7 High : upgrade to 1.123.67 soon.
Data as of 22 Jul 2026, 23:27 UTC
- Patch
- Available – fixed in 1.123.67, 2.32.1, 2.31.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NWhat to do
Upgrade n8n to 1.123.67; n8n to 2.32.1; n8n to 2.31.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmn8n | Affected
| Fixed in
|
| npmn8n | Affected
| Fixed in
|
| npmn8n | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in n8n versions 1.123.67, 2.31.5, and 2.32.1 and later; users should upgrade to one of these versions to remediate the vulnerability. If immediate upgrade is not possible, temporary mitigations include restricting n8n instance access to fully trusted users, disabling the Git node by adding 'n8n-nodes-base.git' to the NODES_EXCLUDE environment variable, and restricting network egress from the n8n instance. These mitigations reduce risk but do not fully remediate the vulnerability.
Description
Authenticated users of n8n with workflow creation and execution rights can achieve code execution on the host via the Git node. This occurs when the Git node, under default security settings, processes a crafted local repository that triggers git hooks to run arbitrary commands as the n8n process user. Both self-hosted and cloud instances are affected if these conditions are met. The vulnerability is fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1 and later. Temporary mitigations include restricting access to trusted users, disabling the Git node, and limiting network egress. These mitigations do not fully resolve the risk and upgrading is recommended.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-rcv6-pvrj-4xcg (opens in a new tab)
- github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f (opens in a new tab)
- github.com/n8n-io/n8n (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@1.123.67 (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.31.5 (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.32.1 (opens in a new tab)