Skip to content
porro

Advisories  /  npm  /  n8n  /  CVE-2026-59254

MODERATE npm

n8n: External Secrets Accessible via Workflow Expressions Outside Credentials (CVE-2026-59254)

CVE-2026-59254 GHSA-2434-3x6q-8r99 Published 22 Jul 2026

Fixed in n8n 2.27.4 and 2.28.1.

$ npm install n8n@^2.27.4
$ npm install n8n@^2.28.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 < 2.27.4≥ 2.28.0, < 2.28.1 2.27.42.28.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-59254?

2.28.1 and later. Versions affected: < 2.27.4, ≥ 2.28.0, < 2.28.1.