Skip to content
porro

Advisories  /  npm  /  n8n  /  CVE-2026-27498

CRITICAL8.5 npm

n8n has Arbitrary Command Execution via File Write and Git Operations (CVE-2026-27498)

CVE-2026-27498 GHSA-x2mw-7j39-93xq Published 25 Feb 2026

Fixed in n8n 1.123.8 and 2.2.0.

$ npm install n8n@^1.123.8
$ npm install n8n@^2.2.0

Run the one for the major version you’re on: each fix stays within its release line.

Which versions are affected

Package Affected Fixed in
n8n < 1.123.8≥ 2.0.0, < 2.2.0 1.123.82.2.0

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-27498?

2.2.0 and later. Versions affected: < 1.123.8, ≥ 2.0.0, < 2.2.0.