{"id":"GHSA-rcv6-pvrj-4xcg","revision":"aea41591cb0b465e84fde0c58871d7a7","records":[{"revision":"aea41591cb0b465e84fde0c58871d7a7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-rcv6-pvrj-4xcg","aliases":["CVE-2026-72767"],"title":"n8n: Authenticated code execution in the n8n Git node","description":"## 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.","state":0,"publishedAt":"2026-07-22T22:08:01+00:00","modifiedAt":"2026-08-12T04:26:19.2209556+00:00","affected":[{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.123.67"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.32.0"},{"kind":"fixed","version":"2.32.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.0.0-rc.0"},{"kind":"fixed","version":"2.31.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-rcv6-pvrj-4xcg","https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f","https://github.com/n8n-io/n8n","https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.67","https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5","https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1"],"sourceUrl":"https://github.com/advisories/GHSA-rcv6-pvrj-4xcg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rcv6-pvrj-4xcg","identifiers":["GHSA-rcv6-pvrj-4xcg","CVE-2026-72767"]},"retained":false,"historicalAffected":[]}],"coverage":[]}