{"id":"CVE-2026-72767","aliases":["GHSA-rcv6-pvrj-4xcg"],"url":"https://o3.security/vulnerability/CVE-2026-72767","summary":"n8n before 1.123.67 Remote Code Execution via Git node","details":"## Impact\n\nAuthenticated n8n users with rights to create and execute workflows could achieve code execution on the n8n host. Using the Git node, under the default `git` security settings, by staging a crafted local repository, an attacker could cause `git` to run hooks, executing arbitrary commands as the n8n process user.\n\nBoth self-hosted and cloud instances are affected where authenticated users can create and execute workflows using the Git node.\n\n## Patches\n\nThe issue has been fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\n\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict n8n instance access to fully trusted users only.\n- Disable the Git node by adding `n8n-nodes-base.git` to the `NODES_EXCLUDE` environment variable.\n- Restrict network egress from the n8n instance to limit the impact of arbitrary code execution.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","published":"2026-08-11T12:17:07.753Z","modified":"2026-10-21T02:30:15.897341987Z","cvss":null,"epss":{"score":0.00387,"percentile":0.32481,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"n8n","fixedVersion":"1.123.67"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.32.1"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.31.5"}],"fix":{"url":"https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f","label":"n8n-io/n8n@f69dfc6"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72767.json"},{"type":"ADVISORY","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-rcv6-pvrj-4xcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72767"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-node"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f"},{"type":"PACKAGE","url":"https://github.com/n8n-io/n8n"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.67"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-21T02:30:15.897341987Z"}}