Advisories / npm / n8n / CVE-2026-25052
n8n's Improper File Access Controls Allow Arbitrary File Read by Authenticated Users (CVE-2026-25052)
CVE-2026-25052 GHSA-gfvg-qv54-r4pc Published 4 Feb 2026
Fixed in n8n 1.123.18 and 2.5.0.
$ npm install n8n@^1.123.18 $ npm install n8n@^2.5.0
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.18≥ 2.0.0, < 2.5.0 | 1.123.182.5.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
- Advisory published, with a fix
Questions
Which version of n8n is safe from CVE-2026-25052?
2.5.0 and later. Versions affected: < 1.123.18, ≥ 2.0.0, < 2.5.0.