Lucene search
+L

n8n Node.js Package >= 0.187.0 < 1.120.3 Command Injection (CVE-2026-21893)

🗓️ 13 Feb 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 4 Views

n8n package versions allow authenticated administrators to execute arbitrary commands via community package installation.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2026-21893
4 Feb 202617:36
attackerkb
circl
Circl
CVE-2026-21893
4 Feb 202618:10
circl
cnnvd
CNNVD
n8n 操作系统命令注入漏洞
4 Feb 202600:00
cnnvd
cve
CVE
CVE-2026-21893
4 Feb 202617:36
cve
cvelist
Cvelist
CVE-2026-21893 n8n Vulnerable to Command Injection in Community Package Installation
4 Feb 202617:36
cvelist
euvd
EUVD
EUVD-2026-5369
4 Feb 202617:36
euvd
github
Github Security Blog
n8n Vulnerable to Command Injection in Community Package Installation
4 Feb 202617:49
github
ncsc
NCSC
Vulnerabilities fixed in n8n
9 Feb 202610:39
ncsc
nvd
NVD
CVE-2026-21893
4 Feb 202618:16
nvd
osv
OSV
GHSA-7C4H-VH2M-743M n8n Vulnerable to Command Injection in Community Package Installation
4 Feb 202617:49
osv
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(298982);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/02/23");

  script_cve_id("CVE-2026-21893");

  script_name(english:"n8n Node.js Package >= 0.187.0 < 1.120.3 Command Injection (CVE-2026-21893)");

  script_set_attribute(attribute:"synopsis", value:
"The n8n Node.js Package installed on the remote host is affected by a command injection vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of the n8n Node.js Package installed on the remote host is >= 0.187.0 and prior to 1.120.3. It is,
therefore, affected by a command injection vulnerability:

  - A command injection vulnerability was identified in n8n's community package installation functionality. The issue
    allows authenticated users with administrative permissions to execute arbitrary system commands on the n8n host
    under specific conditions. (CVE-2026-21893)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://github.com/n8n-io/n8n/security/advisories/GHSA-7c4h-vh2m-743m
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d042fe68");
  script_set_attribute(attribute:"solution", value:
"Upgrade to n8n Node.js Package version 1.120.3 or later.");
  script_set_attribute(attribute:"agent", value:"all");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:M/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss4_vector", value:"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");
  script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:U");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-21893");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/02/04");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/02/04");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/02/13");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"asset_categories", value:"component");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:nodejs:node.js");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("nodejs_modules_win_installed.nbin", "nodejs_modules_linux_installed.nbin", "nodejs_modules_mac_installed.nbin");
  script_require_keys("Host/nodejs/modules/enumerated");

  exit(0);
}

include('vcf_extras_nodejs.inc');

get_kb_item_or_exit('Host/nodejs/modules/enumerated');

var app = 'n8n';
var app_info = vcf_extras::nodejs_modules::get_app_info(app:app);

if (empty_or_null(app_info))
  audit(AUDIT_NOT_INST, app);

var constraints = [
  {'min_version':'0.187.0', 'fixed_version':'1.120.3'}
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Feb 2026 00:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 3.17.2
CVSS 49.4
EPSS0.01396
SSVC
4