Skip to content
porro

Advisories  /  npm  /  n8n  /  CVE-2025-68697

HIGH7.1 npm

Self-hosted n8n has Legacy Code node that enables arbitrary file read/write (CVE-2025-68697)

CVE-2025-68697 GHSA-j4p8-h8mh-rh8q Published 26 Dec 2025

Fixed in n8n 2.0.0.

$ npm install n8n@^2.0.0

Which versions are affected

Package Affected Fixed in
n8n ≥ 1.2.1, < 2.0.0 2.0.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-2025-68697?

2.0.0 and later. Versions affected: ≥ 1.2.1, < 2.0.0.