Skip to content
porro

Advisories  /  npm  /  n8n  /  CVE-2026-49465

MODERATE7.7 npm

n8n: Git Node Clone and Push Operations Bypass File Sandbox (CVE-2026-49465)

CVE-2026-49465 GHSA-5xp3-2w67-427v Published 16 Jun 2026

Fixed in n8n 1.123.48 and 2.21.8 and 2.22.4.

$ npm install n8n@^1.123.48
$ npm install n8n@^2.21.8
$ npm install n8n@^2.22.4

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.48≥ 2.0.0-rc.0, < 2.21.8≥ 2.22.0, < 2.22.4 1.123.482.21.82.22.4

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

2.22.4 and later. Versions affected: < 1.123.48, ≥ 2.0.0-rc.0, < 2.21.8, ≥ 2.22.0, < 2.22.4.