Skip to content
porro

Advisories  /  npm  /  n8n  /  CVE-2026-21893

CRITICAL npm

n8n Vulnerable to Command Injection in Community Package Installation (CVE-2026-21893)

CVE-2026-21893 GHSA-7c4h-vh2m-743m Published 4 Feb 2026

Fixed in n8n 1.120.3.

$ npm install n8n@^1.120.3

Which versions are affected

Package Affected Fixed in
n8n ≥ 0.187.0, < 1.120.3 1.120.3

Check a site from its project folder: npm ls n8n shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of n8n is safe from CVE-2026-21893?

1.120.3 and later. Versions affected: ≥ 0.187.0, < 1.120.3.