n8n
Affected
- introduced
0.187.0, fixed1.120.3(semver)
Fixed versions
1.120.3
Fix
- Fixed version
1.120.3npm install [email protected]
Advisory
Also known as: CVE-2026-21893
n8n Vulnerable to Command Injection in Community Package Installation
Impact
A Command Injection vulnerability was identified in n8n’s community package installation functionality. The issue allowed authenticated users with administrative permissions to execute arbitrary system commands on the n8n host under specific conditions.
Important context
Because administrative users can already extend n8n with custom or community code, the vulnerability does not meaningfully expand the threat model beyond existing administrator capabilities. However, it represents a violation of secure coding practices and has therefore been addressed.
Patches
Users are advised to upgrade to n8n version 1.120.3 or later, which fully resolves the issue.
As a general security best practice, n8n instance owners should ensure that:
Critical Basis: The source's own band: CRITICAL
0.187.0, fixed 1.120.3 (semver)1.120.3
1.120.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