---
title: "CVE-2026-21893: n8n Vulnerable to Command Injection in Community Package Installation"
url: https://erroneo.us/security/cve/CVE-2026-21893/
description: "CVE-2026-21893 (n8n (npm)): n8n is an open source workflow automation platform. From version 0.187.0 to before 1.120.3, a command injection vulnerability…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-02-04
date_modified: 2026-02-04
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-21893"
kev: false
cvss: 9.4
epss: 0.0156
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 1.6% , percentile 75: FIRST’s model estimates a 1.6% chance of exploitation activity in the next 30 days, higher than 75% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Needs an account (high (admin)). Exposure depends on who can log in.
- Only applies if your dependency tree includes n8n (npm) >= 0.187.0, < 1.120.3, fixed in 1.120.3 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- npm `n8n` >= 0.187.0, < 1.120.3 → fixed: 1.120.3

## Affected products (CVE record)

- n8n-io n8n: >= 0.187.0, < 1.120.3

## Severity

- GitHub_M CVSS 4.0: 9.4 `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`
- GitHub CVSS 4.0: 9.4 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.56% probability of exploitation activity in the next 30 days; percentile 75.

## Sources

- [GitHub Advisory GHSA-7c4h-vh2m-743m](https://github.com/advisories/GHSA-7c4h-vh2m-743m)
- [CVE.org record CVE-2026-21893](https://www.cve.org/CVERecord?id=CVE-2026-21893)
- [NVD entry CVE-2026-21893](https://nvd.nist.gov/vuln/detail/CVE-2026-21893)
- [github.com](https://github.com/n8n-io/n8n/security/advisories/GHSA-7c4h-vh2m-743m)
- [github.com](https://github.com/n8n-io/n8n/commit/ae0669a736cc496beeb296e115267862727ae838)

---
Source page: https://erroneo.us/security/cve/CVE-2026-21893/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
