CVE-2026-86995
Description
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the Git node validated the repository parameter for fetch or pull, but setUpstream wrote a branch..remote value into repository configuration without validating it. A later fetch or pull resolved the remote from that configuration instead of the checked parameter. An authenticated workflow editor could therefore point Git at any local repository readable by the n8n process and receive its contents through packages/nodes-base/nodes/Git/GenericFunctions.ts. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
How to fix
- n8n n8n1.123.76, 2.37.7, 2.38.2 or later
- n8n1.123.76, 2.38.2, 2.37.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| n8n n8n | v < 1.123.76, 2.0.0 ≤ v < 2.37.7, 2.38.0 ≤ v < 2.38.2 | 1.123.76, 2.37.7, 2.38.2 |
| n8nnpm | v < 1.123.76, 2.38.0 ≤ v < 2.38.2, 2.0.0 ≤ v < 2.37.7 | 1.123.76, 2.38.2, 2.37.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.