Description
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.
Published: 2026-08-20
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized full-collection disclosure and deletion
Action: Apply patches
AI Analysis

Impact

The vulnerability is a NoSQL injection flaw in n8n, located in the MongoDB node’s Find, Delete, and Aggregate operations. The node parses the Query parameter as JSON after resolving expressions, without sanitizing MongoDB operators. An attacker who can influence the resolved query—such as by providing externally‑controlled data—can inject operators like $ne or $where. This turns a narrowly scoped single‑document lookup into a request that targets an entire collection, potentially exposing all documents, deleting them, or performing other harmful database operations. The weakness is a classic NoSQL injection, identified as CWE‑943, which can compromise confidentiality, integrity, and availability of the database.

Affected Systems

n8n by n8n‑io, specifically all releases before 1.123.69, 2.33.4, and 2.34.1. Users running these versions of the automation platform are vulnerable.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate to high severity. Though the EPSS score is not available, the attack path is realistic: through externally‑controlled input that reaches the MongoDB node’s query parameter. The vulnerability is not listed as a known exploited vulnerability in CISA’s KEV catalog at this time, but the potential for full‑collection impact makes it a significant risk for systems that expose the node to untrusted data.

Generated by OpenCVE AI on August 20, 2026 at 21:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a patched n8n release (any version equal to or newer than 1.123.69, 2.33.5, or 2.34.2).
  • Validate and sanitize all input before it resolves into the query parameter to block NoSQL operators.
  • Restrict or monitor usage of the MongoDB node so that only trusted internal processes can provide query data.

Generated by OpenCVE AI on August 20, 2026 at 21:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:2.34.0:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Fri, 21 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n before 1.123.69 NoSQL Injection via MongoDB Node
First Time appeared N8n
N8n n8n
Weaknesses CWE-943
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-21T11:21:14.972Z

Reserved: 2026-08-20T10:51:39.783Z

Link: CVE-2026-77070

cve-icon Vulnrichment

Updated: 2026-08-20T13:41:36.827Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-20T12:16:38.227

Modified: 2026-09-01T20:01:22.707

Link: CVE-2026-77070

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T13:02:14Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic