CVE-2026-77070: n8n before 1.123.69 NoSQL Injection via MongoDB Node

Published Aug 20, 2026
·
Updated

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 Software

1 affected component
n8n n8n<1.123.69, =2.33.4, =2.34.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade n8n (MongoDB node) to a version that resolves this vulnerability.

    Fixed in 1.123.69
  2. Upgrade

    Upgrade n8n (MongoDB node) to a version that resolves this vulnerability.

    Fixed in 2.33.4
  3. Upgrade

    Upgrade n8n (MongoDB node) to a version that resolves this vulnerability.

    Fixed in 2.34.1
  4. Compensating control

    If you can’t immediately upgrade, prevent attackers from influencing the MongoDB node’s resolved Query parameter (e.g., ensure externally-controlled data cannot be used to build/resolve the Query JSON that is passed to Find/Delete/Aggregate).

Event History

Aug 20, 2026
CVE Published
via MITRE·11:21 AM
Data Sourced
via MITRE·11:21 AM
DescriptionWeakness

Frequently Asked Questions

1

Which workflows are exposed to this issue?

Workflows using the MongoDB node's Find, Delete, or Aggregate operations are exposed when their Query parameter can be influenced by externally controlled data after expression resolution.

2

What does an attacker need to exploit it?

An attacker needs a way to influence the resolved MongoDB query. This can occur when workflow expressions place externally controlled data into the Query parameter.

3

What could exploitation allow?

Injected MongoDB operators such as $ne or $where can change an intended single-document lookup into full-collection disclosure, full-collection deletion, or other operations on the database server.

4

Which versions contain the fixes?

The issue affects versions before 1.123.69, 2.33.4, and 2.34.1. Updating to the applicable listed release or later addresses the affected version range.

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