Skip to content
porro

Advisories  /  npm  /  n8n  /  CVE-2026-56351

MODERATE8.2 npm

n8n: SQL Injection in MySQL, PostgreSQL, and Microsoft SQL nodes (CVE-2026-56351)

CVE-2026-56351 GHSA-f3f2-mcxc-pwjx Published 26 Feb 2026

Fixed in n8n 2.4.0.

$ npm install n8n@^2.4.0

Which versions are affected

Package Affected Fixed in
n8n < 2.4.0 2.4.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-56351?

2.4.0 and later. Versions affected: < 2.4.0.