{"id":"CVE-2026-54313","published":"2026-06-23T15:31:07Z","modified":"2026-06-23T17:03:29Z","title":"n8n: NoSQL Injection in MongoDB Node Find And Replace Operation","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is an open source workflow automation platform. Prior to 2.24.0, an authenticated user with workflow edit access could supply a malicious filter value in the MongoDB node's Find And Replace operation. The value was not validated before being passed to MongoDB as a query filter, allowing unintended documents to be matched and overwritten with attacker-controlled content. This vulnerability is fixed in 2.24.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00343,"percentile":0.28585,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-jpq7-226w-6cxx","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":5.72},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 2.24.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T16:32:10.879352Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<2.24.0"],"patched":["2.24.0"],"from":["GHSA-jpq7-226w-6cxx"],"provenance":"source"}],"summary":{"text":"The MongoDB node's Find And Replace operation in n8n, prior to version 2.24.0, fails to validate a user-supplied filter value before passing it to MongoDB as a query filter, enabling NoSQL injection. An authenticated user with workflow edit access can exploit this over the network by supplying a malicious filter, causing unintended documents to be matched and overwritten with attacker-controlled content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:45Z"},"euvd":{"id":"EUVD-2026-38459","exploited":false,"provenance":"source"}}