Advisories / npm / n8n / CVE-2026-54313
n8n: NoSQL Injection in MongoDB Node Find And Replace Operation (CVE-2026-54313)
CVE-2026-54313 GHSA-jpq7-226w-6cxx Published 16 Jun 2026
Fixed in n8n 2.24.0.
$ npm install n8n@^2.24.0
Which versions are affected
| Package | Affected | Fixed in |
|---|---|---|
| n8n | < 2.24.0 | 2.24.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-54313?
2.24.0 and later. Versions affected: < 2.24.0.