n8n
Affected
- introduced
0.123.0, fixed1.121.3(semver)
Fixed versions
1.121.3
Fix
- Fixed version
1.121.3npm install [email protected]
Advisory
Also known as: CVE-2026-21877
n8n Vulnerable to RCE via Arbitrary File Write
Impact
n8n is affected by an authenticated Remote Code Execution (RCE) vulnerability.
Under certain conditions, an authenticated user may be able to cause untrusted code to be executed by the n8n service. This could result in full compromise of the affected instance.
Both self-hosted and n8n Cloud instances are impacted.
Patches
The issue has been resolved in n8n version 1.121.3.
Users are advised to upgrade to this version or later to fully address the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators can reduce exposure by disabling the Git node and limiting access for untrusted users.
References
Critical Basis: The source's own band: CRITICAL
0.123.0, fixed 1.121.3 (semver)1.121.3
1.121.3npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0