n8n before 1.123.69 NoSQL Injection via MongoDB Node
n8n-io n8n
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
n8n-io n8n
| Product | Affected | Fixed in |
|---|---|---|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
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.
From the CVE record · VulnCheck
The MongoDB node's Find, Delete, and Aggregate operations parse the Query parameter without sanitizing MongoDB operators. An attacker who can influence the resolved query, including through externally controlled data, can inject operators that may disclose or delete an entire collection.
Engineers running n8n versions before 1.123.69, 2.33.4, or 2.34.1 should check their installations.