Skip to content
porro

Advisories  /  npm  /  n8n  /  CVE-2026-21877

CRITICAL9.9 npm

n8n Vulnerable to RCE via Arbitrary File Write (CVE-2026-21877)

CVE-2026-21877 GHSA-v364-rw7m-3263 Published 6 Jan 2026

Fixed in n8n 1.121.3.

$ npm install n8n@^1.121.3

Which versions are affected

Package Affected Fixed in
n8n ≥ 0.123.0, < 1.121.3 1.121.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-21877?

1.121.3 and later. Versions affected: ≥ 0.123.0, < 1.121.3.