N8n-io n8n
n8n before 1.123.69 NoSQL Injection via MongoDB Node
n8n before 1.123.69, 2.33.4, and 2.34.1 contains a NoSQL injection vulnerability in the MongoDB node's Find, Delete, and Aggregate operations, which parse the Query parameter as JSON after expression resolution without sanitizing MongoDB operators. An attacker who can influence the resolved query (e.g., via externally-controlled data) can inject operators such as $ne or $where, turning an intended single-document lookup into full-collection disclosure, full-collection deletion, or other operations on the database server.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.123.69
Fixed in 1.123.69
- >= 2.34.0, < 2.34.1
Fixed in 2.34.1
- >= 2.0.0, < 2.33.4
Fixed in 2.33.4
Mitigation
Upgrade n8n to 1.123.69 or later.
Upgrade n8n to 2.34.1 or later.
Upgrade n8n to 2.33.4 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.