CVE-2026-21893
n8n Vulnerable to Command Injection in Community Package Installation
Summary
Remediation
Upgrade to the fixed version using your package manager.
npm install n8n@1.120.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| n8n | npm | All versions | 1.120.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
Frequently Asked Questions
- What is CVE-2026-21893?
- n8n Vulnerable to Command Injection in Community Package Installation This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2026-21893?
- CVE-2026-21893 affects n8n. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-21893 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-25052CRITICAL
n8n's Improper File Access Controls Allow Arbitrary File Read by Authenticated Users
- CVE-2026-42232CRITICAL
n8n has XML Node Prototype Pollution that to RCE
- CVE-2026-25056CRITICAL
n8n Merge Node has Arbitrary File Write leading to RCE
- CVE-2026-27495CRITICAL
n8n has a Sandbox Escape in its JavaScript Task Runner
- CVE-2026-54305HIGH
n8n: Cross-Tenant Credential Takeover via Dynamic Credentials EE Endpoints
- CVE-2026-72765HIGH
n8n: Expression sandbox escape via arrow-function bodies enabling command execution
- CVE-2026-59257MEDIUM
n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation
- CVE-2026-72775MEDIUM
n8n: PostgresTrigger Node SQL Injection Allows Authenticated Users to Execute Arbitrary SQL on Connected PostgreSQL Instances
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies