Skip to content
porro

Advisories  /  npm  /  n8n  /  CVE-2026-42228

MODERATE5.4 npm

n8n Vulnerable to Hijacking of Unauthenticated Chat Execution (CVE-2026-42228)

CVE-2026-42228 GHSA-f77h-j2v7-g6mw Published 29 Apr 2026

Fixed in n8n 1.123.32 and 2.17.4 and 2.18.1.

$ npm install n8n@^1.123.32
$ npm install n8n@^2.17.4
$ npm install n8n@^2.18.1

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.32≥ 2.0.0, < 2.17.4≥ 2.18.0, < 2.18.1 1.123.322.17.42.18.1

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

2.18.1 and later. Versions affected: < 1.123.32, ≥ 2.0.0, < 2.17.4, ≥ 2.18.0, < 2.18.1.