CVE-2026-126383
n8n before 1.123.89, 2.x before 2.45.5, 2.46.x before 2.46.1, and 3.x before 3.0.1 contains a NoSQL injection vulnerability in the MongoDB node's Update and Fi…
Impact
n8n before 1.123.89, 2.x before 2.45.5, 2.46.x before 2.46.1, and 3.x before 3.0.1 contains a NoSQL injection vulnerability in the MongoDB node's Update and Find And Replace operations due to insufficient validation of the update key value taken from incoming items. Attackers who can supply untrusted input, such as a webhook body, to a workflow using these operations can make the node match and overwrite unintended documents or insert new documents in the MongoDB database.
An attacker can exploit this over the network, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data or systems being changed, high risk of outages. The attack can reach beyond the vulnerable component itself.
Affected products · N8n-io
| Product | Affected versions |
|---|---|
| N8n | before 1.123.89 from 2.46.0 before 2.46.1 from 2.0.0 before 2.45.5 from 3.0.0 before 3.0.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/n8n-io/n8n/security/advisories/GHSA-4v22-g448-h4rg
- https://www.vulncheck.com/advisories/n8n-before-1.123.89-nosql-injection-via-mongodb-node-update-key
- https://github.com/advisories/GHSA-q2mq-gv2x-2mgf
- https://nvd.nist.gov/vuln/detail/CVE-2026-126383