NoSQL injection in n8n MongoDB node lets attackers overwrite data
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
n8n before 1.123.89, from 2.0.0 before 2.45.5, from 2.46.0 before 2.46.1, and from 3.0.0 before 3.0.1 are affected. The MongoDB node's Update and Find And Replace operations do not validate the update key taken from incoming items, a NoSQL injection flaw (CWE-943). A remote attacker with low privileges who can supply untrusted input, such as a webhook body, to a workflow using these operations can match and overwrite unintended documents or insert new documents.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| n8n | n8n | before 1.123.89 | 1.123.89 | Patch available | CNA |
| n8n | n8n | 2.46.0 to before 2.46.1 | 2.46.1 | Patch available | CNA |
| n8n | n8n | 2.0.0 to before 2.45.5 | 2.45.5 | Patch available | CNA |
| n8n | n8n | 3.0.0 to before 3.0.1 | 3.0.1 | Patch available | CNA |
- n8n Vendorn8n Affected before 1.123.89 Fixed in 1.123.89 Patch available CNA
- n8n Vendorn8n Affected 2.46.0 to before 2.46.1 Fixed in 2.46.1 Patch available CNA
- n8n Vendorn8n Affected 2.0.0 to before 2.45.5 Fixed in 2.45.5 Patch available CNA
- n8n Vendorn8n Affected 3.0.0 to before 3.0.1 Fixed in 3.0.1 Patch available CNA
Remediation
Fixed versions are n8n 1.123.89, 2.45.5, 2.46.1 and 3.0.1, so upgrade to the fixed version on your release line.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA n8n (n8n-io) Fixed in 1.123.89
- Fix · CNA n8n (n8n-io) Fixed in 2.46.1
- Fix · CNA n8n (n8n-io) Fixed in 2.45.5
- Fix · CNA n8n (n8n-io) Fixed in 3.0.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
n8n-io n8n 3.0.1
11 records Highest priority Priority LOW 11 LOW
Other records, highest priority first
- TI-2026-91284 Sandbox escape in n8n workflow expressions allows code executionPriority LOW 36
- TI-2026-91277 Bundled GraphicsMagick in n8n allows code execution via Edit Image nodePriority LOW 36
- TI-2026-91282 Authentication bypass in n8n Chat Trigger embedded chatPriority LOW 28
- Release ·
n8n-io n8n 2.45.5, 2.46.1
9 records Highest priority Priority LOW 9 LOW
Other records, highest priority first
- TI-2026-91284 Sandbox escape in n8n workflow expressions allows code executionPriority LOW 36
- TI-2026-91277 Bundled GraphicsMagick in n8n allows code execution via Edit Image nodePriority LOW 36
- TI-2026-91282 Authentication bypass in n8n Chat Trigger embedded chatPriority LOW 28
Show 1 more group
- Release ·
n8n-io n8n 1.123.89
6 records Highest priority Priority LOW 6 LOW
Other records, highest priority first
- TI-2026-91284 Sandbox escape in n8n workflow expressions allows code executionPriority LOW 36
- TI-2026-91277 Bundled GraphicsMagick in n8n allows code execution via Edit Image nodePriority LOW 36
- TI-2026-91282 Authentication bypass in n8n Chat Trigger embedded chatPriority LOW 28
Timeline
- 2026-11-13 Threatist record created from CVE-2026-126383
- 2026-11-13 Alias added: GHSA-q2mq-gv2x-2mgf
- 2026-11-13 CISA SSVC decision points changed
References
More n8n vulnerabilities
- TI-2025-42131 Remote code execution in n8n via workflow expression evaluation KEVCVSS 3.1CRITICAL 10.0
- TI-2026-17560 n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling CVSS 3.1CRITICAL 10.0
- TI-2026-01167 Authenticated users can bypass the Expression sandbox mechanism to achieve full remote… CVSS 3.1CRITICAL 9.9
- TI-2026-00644 Sandbox escape in n8n Python task runner allows for arbitrary code execution on the underlying host. CVSS 3.1CRITICAL 9.9
- TI-2026-82991 Code execution in n8n via deprecated Function nodes CVSS 4.0HIGH 8.7
- TI-2025-35293 An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3… CVSS 3.1HIGH 8.8
Sources
- CVE-2026-126383 · CVE Program
- CVE-2026-126383 · NVD
- FIRST EPSS
- GHSA-q2mq-gv2x-2mgf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences