Skip to content
porro

Advisories  /  npm  /  n8n  /  CVE-2026-56359

MODERATE5.4 npm

n8n has XSS in its Credential Management Flow (CVE-2026-56359)

CVE-2026-56359 GHSA-364x-8g5j-x2pr Published 27 Mar 2026

Fixed in n8n 2.6.4 and 2.8.0.

$ npm install n8n@^2.6.4
$ npm install n8n@^2.8.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 < 2.6.4≥ 2.7.0, < 2.8.0 2.6.42.8.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-56359?

2.8.0 and later. Versions affected: < 2.6.4, ≥ 2.7.0, < 2.8.0.