n8n Vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n8n-io | n8n | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| N8n | N8n | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-wpqc-h9wp-chmq | n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.711% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
N8n
N8n n8n |
|
| Vendors & Products |
N8n
N8n n8n |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | n8n is an open source workflow automation platform. Versions 0.123.1 through 1.119.1 do not have adequate protections to prevent RCE through the project's pre-commit hooks. The Add Config operation allows workflows to set arbitrary Git configuration values, including core.hooksPath, which can point to a malicious Git hook that executes arbitrary commands on the n8n host during subsequent Git operations. Exploitation requires the ability to create or modify an n8n workflow using the Git node. This issue is fixed in version 1.119.2. Workarounds include excluding the Git Node (Docs) and avoiding cloning or interacting with untrusted repositories using the Git Node. | |
| Title | n8n Vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook | |
| Weaknesses | CWE-829 | |
| References |
| |
| Metrics |
cvssV4_0
|