Skip to main content

n8n CVE-2026-77070

| EUVDEUVD-2026-63259 HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-08-20 VulnCheck GHSA-4x9q-xqfh-jh4j
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify n8n instance with external-facing webhook trigger
  2. Delivery
    Send crafted payload embedding MongoDB operator (e.g., {"$ne": null})
  3. Exploit
    n8n resolves expression and parses Query as JSON without operator sanitization
  4. Execution
    Injected operator alters MongoDB query semantics
  5. Persist
    Database executes unintended full-collection operation
  6. Impact
    Attacker exfiltrates all documents or triggers mass deletion

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
Exploitation Conditions

Exploitation requires three concurrent conditions: first, the target n8n instance must use the MongoDB integration node in a workflow with Find, Delete, or Aggregate operations; second, the workflow must accept externally-controlled data - such as webhook payloads, HTTP parameters, or form submissions - and route that data into the MongoDB node's Query parameter without sanitization or strict type enforcement; third, the MongoDB database must be reachable from the n8n server. The CVSS 4.0 AT:P metric explicitly encodes these deployment-specific preconditions. Limiting factors include: workflows that use only static or developer-hardcoded queries are not exploitable regardless of version; n8n instances with no externally-facing workflow triggers are not directly exploitable from the internet; and MongoDB accounts provisioned with read-only permissions would prevent injection via Delete operations, though collection-wide reads via Find would still be reachable. The CVSS 4.0 PR:N metric confirms no attacker authentication is required against n8n itself, but the workflow trigger mechanism (e.g., webhook authentication headers) may impose additional access controls in specific deployments.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H) rates the subsequent-system (MongoDB database) impact as High across all three pillars, while the vulnerable system (n8n itself) shows no direct impact - correctly reflecting that n8n is the injection point but MongoDB bears the operational consequences. The AT:P (Attack Requirements: Present) metric is the critical moderating factor: exploitation requires a workflow specifically configured to accept external input and route it unsanitized into a MongoDB node query, meaning not all n8n deployments are equally exposed. No EPSS data was provided in the input, which limits probabilistic risk quantification. The absence of a CISA KEV entry and no confirmed public exploit code reduce immediacy, but the High subsequent-system impact across integrity and availability - including the potential for full-collection deletion - means the practical blast radius for affected workflows is severe. The PR:N metric confirms that no attacker authentication is required against n8n itself, though the workflow trigger mechanism may impose its own access controls depending on deployment.

Exploit ScenarioDerived

An attacker identifies an n8n instance with a publicly accessible webhook-triggered workflow that performs a MongoDB Find operation using a customer-supplied identifier (e.g., a product ID or user lookup). By sending a crafted webhook payload where the query field contains {"$ne": null} instead of a legitimate value, the attacker transforms the intended single-record lookup into a full-collection scan, retrieving all documents. If the workflow uses a Delete operation, the same operator injection triggers mass deletion of the entire collection without any authentication against n8n itself.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

NoSQL injection in n8n's MongoDB integration node (Find, Delete, and Aggregate operations) allows an attacker who can supply externally-controlled data into a workflow query to inject MongoDB operators such as $ne or $where, transforming an intended single-document lookup into full-collection disclosure, mass deletion, or arbitrary database operations. Versions prior to 1.123.69 (v1 branch) and 2.33.4 / 2.34.1 (v2 branch) are affected, per vendor advisory GHSA-953p-jm2c-8h5j. No public exploit code or CISA KEV listing has been identified at time of analysis, though the CVSS 4.0 subsequent-system impact is rated High across confidentiality, integrity, and availability.

RemediationAI

The primary fix is to upgrade n8n to version 1.123.69 or later for v1 deployments, or to 2.33.4 / 2.34.1 or later for v2 deployments, as documented in GHSA-953p-jm2c-8h5j. For deployments that cannot immediately patch, the most effective compensating control is to audit all workflows using MongoDB nodes and ensure that no externally-supplied, untrusted data is passed directly into the Query parameter of Find, Delete, or Aggregate operations - restructure affected workflows to use static, hardcoded queries or enforce strict allowlisting of query values before they reach the MongoDB node. Restricting n8n webhook and trigger endpoints to trusted internal networks or behind authenticated gateways reduces the attacker-reachable surface for AT:P exploitation; this does not eliminate the vulnerability but raises the bar significantly. Disabling or removing MongoDB nodes in any workflow that processes external input is a more aggressive but reliable interim control. Note that sanitizing input within n8n expression logic alone is not a reliable substitute for the vendor patch, as the injection occurs after expression resolution.

Affected VersionsENISA

n8n 0 <2.34.1
n8n 0 <2.33.4
n8n 0 <1.123.69

Affected Packages

euvd n8n fix: 1.123.69, 2.33.4, 2.34.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is a workflow automation platform that allows users to build integrations using nodes representing external services. The MongoDB node parses the Query parameter as JSON after n8n's internal expression resolver runs - resolving workflow variables and externally-supplied data into the query - but does not sanitize MongoDB query operators prior to passing the constructed object to the MongoDB driver. CWE-943 (Improper Neutralization of Special Elements in Data Query Logic) describes this root cause class: when user-controlled data containing MongoDB operators such as $ne, $where, or $regex is embedded in a query object, it can alter query semantics beyond the developer's intent. The affected CPE is cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:* across all three affected version ranges (pre-1.123.69, pre-2.33.4, and pre-2.34.1).

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 9.0 CRITICAL

Network-reachable but requires specific workflow configuration routing external input to MongoDB node (AC:H, matching AT:P); scope change because MongoDB is the impacted component, not n8n itself.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Aug 20, 2026 - 12:16 EUVD
CVE Published
Aug 20, 2026 - 11:21 cve.org
HIGH 7.1

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

n8n's MongoDB integration node contains a NoSQL injection vulnerability that permits attackers to extract entire databases, delete collections, or execute arbitrary database operations if they can influence workflow query logic. Organizations using n8n versions prior to 1.123.69 (v1 branch) and 2.33.4/2.34.1 (v2 branch) with MongoDB backends face immediate risk of data theft and service disruption, particularly for workflows processing external or user-supplied input. No vendor-released patch identified at time of analysis, requiring compensating controls to protect sensitive databases.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) enforce strict input validation and whitelist permitted MongoDB operators ($eq, $gt, etc.) for all external data sources, blocking injection patterns ($ne, $where, $regex); (2) provision MongoDB credentials with minimal permissions, segregating read-only access for query-only workflows from write-enabled accounts; (3) disable or network-isolate workflows processing sensitive data until patch availability; (4) implement database query logging with alerting for anomalous operator usage; (5) restrict network access to MongoDB instances to only required n8n service components; (6) conduct workflow-by-workflow security review to map external input sources and MongoDB operations for risk prioritization.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular open-source workflow automation platform, broad self-hosted enterprise adoption
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy