N8n-io n8n
n8n: Race Condition in Git Clone Node Allows Authenticated Users to Achieve Remote Code Execution
n8n is an open source workflow automation platform. Prior to 1.123.64, 2.29.8, and 2.30.1, the Git node clone operation allows an authenticated workflow user to swap a validated directory for a symlink before cloning, planting a crafted repository in the community node directory that loads as a custom JavaScript node after restart and executes arbitrary code on the server. This issue is fixed in versions 1.123.64, 2.29.8, and 2.30.1.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.9high · scored by CNA · CWE-367
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
n8n-io n8n
- < 1.123.64
- >= 2.0.0-rc.0, < 2.29.8
- >= 2.30.0, < 2.30.1
Fixed in 1.123.64, 2.29.8, 2.30.1
Mitigation
Upgrade n8n to 1.123.64 or 2.29.8 or 2.30.1 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@1.123.6…
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@2.29.8
1 more
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@2.30.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.