What’s Vulnerable › Vulnerabilities
CVE-2026-54313: n8n: NoSQL Injection in MongoDB Node Find And Replace Operation
- Severity: high (CVSS 7.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-23 · updated 2026-10-25
- Weakness: CWE-89
Description
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.
Affected products
- n8n-io n8n: before 2.24.0 — fixed in 2.24.0
How to fix
Upgrade to a fixed version: n8n-io n8n 2.24.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-54313 or the next vulnerability affects your stack