CVE-2026-126383: n8n before 1.123.89 NoSQL Injection via MongoDB Node Update Key

Published Nov 13, 2026
·
Updated

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.

Affected Software

1 affected component
n8n n8n<1.123.89, >=2.0.0<2.45.5, >=2.46.0<2.46.1, >=3.0.0<3.0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 1.123.89
  2. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.45.5
  3. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.46.1
  4. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 3.0.1

Event History

Nov 13, 2026
CVE Published
via MITRE·09:35 AM
Data Sourced
via MITRE·09:35 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which workflows are exposed to this issue?

Workflows that use the MongoDB node's Update or Find And Replace operation and derive the update key value from untrusted incoming items are exposed. A webhook body is one example of an untrusted input source.

2

What level of access does an attacker need?

An attacker must be able to supply input that reaches the update key value used by an affected MongoDB node operation. The issue does not require user interaction, but exploitation has high attack complexity and requires low privileges.

3

What can an attacker do through a vulnerable workflow?

They can cause the MongoDB node to match and overwrite unintended documents or insert new documents in the database. The reported impact affects integrity and availability, with no stated confidentiality impact.

4

Which versions need remediation?

Affected versions are n8n releases before 1.123.89, 2.x releases before 2.45.5, 2.46.x releases before 2.46.1, and 3.x releases before 3.0.1. Upgrade to the applicable fixed version or later.

5

What can be done if upgrading is not immediately possible?

Prevent untrusted incoming values from being used as the MongoDB Update or Find And Replace update key. Review workflows that accept webhook or other external input and use a fixed or validated update key instead.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203