Skip to main content

n8n EUVDEUVD-2026-125182

| CVE-2026-126383 MEDIUM
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-11-13 VulnCheck GHSA-q2mq-gv2x-2mgf
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed n8n webhook endpoint
  2. Exploit
    Craft payload manipulating MongoDB updateKey
  3. Execution
    Node builds unvalidated update selector
  4. Impact
    Overwrite or insert unintended documents

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 a specific deployment condition: an active n8n workflow that uses the MongoDB node's Update or Find And Replace operation AND passes untrusted external input (such as a webhook body) into the updateKey value. This matches the AT:P (attack requirement present) metric - without such a workflow the node is not exploitable. The supplied CVSS vector sets PR:L, so per the framework this is characterized as authenticated; however, the description's vector is an untrusted webhook body, so whether PR:L denotes attacker authentication or required access to the n8n instance/workflow configuration is not confirmed from available data. Limiting factors: the MongoDB node must be in use (it can be disabled via the NODES_EXCLUDE environment variable using n8n-nodes-base.mongoDb), the affected operations must be active, and the updateKey must be influenceable by external data; impact is confined to MongoDB document integrity (overwriting unintended documents or inserting new ones) with no confidentiality or availability effect.

Impact

This is a moderate-risk integrity flaw, not an emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) scores 5.3 and is integrity-only: it asserts no confidentiality or availability impact (VC:N/VA:N) but high integrity impact on both the vulnerable system and a subsequent system (SI:H/SA:H), reflecting unintended modification of MongoDB documents. The AT:P metric signals that a specific attack requirement must be met - here, a workflow that routes untrusted input into the MongoDB node's updateKey - so exploitation is conditional on deployment rather than universal. No EPSS score, no CISA KEV listing, and no confirmed working exploit are present in the input; the two references (the n8n GHSA advisory and the VulnCheck advisory) are vendor/researcher advisories, not verified exploit code. The vuln.today decision label is this_month, consistent with a real-but-not-urgent priority. One signal tension to flag: the CVSS vector states PR:L (a privilege requirement), yet the description's exploitation vector is an untrusted webhook body, which is typically unauthenticated external input - verify with the vendor whether PR:L reflects required access to the n8n instance/workflow configuration rather than attacker authentication. Overall this is a legitimate hardening priority for n8n operators who use the MongoDB node with external input, but the integrity-only scope, configuration dependency, and absence of KEV/EPSS/PoC-exploit signals keep it below top-tier urgency.

Exploit ScenarioDerived

An n8n operator runs a workflow that feeds an inbound webhook body into the MongoDB node's Update or Find And Replace operation. An attacker posts a crafted JSON payload to that webhook so the updateKey resolves to a selector matching documents other than intended, causing the node to overwrite unrelated documents or insert new ones. No confidentiality or availability impact occurs, and no verified working exploit code is identified in the available sources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 13, 2026

NoSQL injection in the n8n MongoDB node lets a workflow that passes untrusted input, such as a webhook body, into the update key of the Update or Find And Replace operations match and overwrite documents other than the one intended, or insert new documents into the MongoDB database. The flaw affects npm/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, and is only reachable where such a workflow is active and its updateKey value can be influenced by external data. Impact is confined to MongoDB document integrity with no confidentiality or availability effect, no public exploit code was identified at time of analysis, and the vendor has released fixed versions for every affected branch; this is a moderate-risk integrity flaw, not an emergency.

RemediationAI

Vendor-released patch: upgrade to n8n 1.123.89, 2.45.5, 2.46.1 or 3.0.1 (or later) according to the branch in use - the advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-4v22-g448-h4rg lists these as the fixed versions and the npm package metadata sets the corresponding minimum safe versions. If upgrading cannot be done immediately, the vendor's short-term measures are to restrict n8n instance access to fully trusted users, audit every active workflow that uses the MongoDB node with Update or Find And Replace and ensure its updateKey cannot be influenced by untrusted external data, apply network-level controls restricting access to webhook endpoints that feed MongoDB update workflows, deactivate affected workflows until the instance is patched, or disable the node entirely by adding n8n-nodes-base.mongoDb to the NODES_EXCLUDE environment variable (which removes MongoDB node functionality from all workflows relying on it). The vendor states these workarounds do not fully remediate the risk and are suitable only as temporary measures.

Affected VersionsENISA

n8n 0 <1.123.89
n8n 2.0.0 <2.45.5
n8n 2.46.0 <2.46.1
n8n 3.0.0 <3.0.1

Affected Packages

euvd n8n fix: 1.123.89, 2.45.5, 2.46.1, 3.0.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 (distributed as the npm package n8n and identified in CPE as cpe:2.3:a:n8n-io:n8n) whose MongoDB node performs database operations on behalf of a workflow. In the Update and Find And Replace operations, the node builds its document-matching query from an update key supplied by the incoming item, and the advisory states this value was not sufficiently validated, which is the CWE-943 (improper neutralization of special elements in data query logic) class of defect: caller-controlled data reaches the query layer and can change which documents the operation selects, so a workflow fed untrusted input can be steered into overwriting unintended documents or inserting new ones. The supplied CVSS 4.0 vector records AT:P (attack requirements present) and PR:L, and the independent assessment maps this to CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N - exploitation is conditional on an active workflow that uses the affected operations and lets external data reach the updateKey, the scope change reflects impact on the downstream MongoDB rather than n8n itself, and the sources do not describe the exact payload structure or how the injected value is constructed. Whether PR:L denotes attacker credentials or merely access to the n8n instance and its workflow configuration is not confirmed from available data; the node can be removed from the runtime entirely by adding n8n-nodes-base.mongoDb to the NODES_EXCLUDE environment variable.

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 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:H
vuln.today AI 6.3 MEDIUM

Network-reachable but conditional on a vulnerable workflow configuration (AC:H); PR:L per the vendor signal; integrity-only impact on database documents with scope change into MongoDB (S:C, I:H, C:N, A:N).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 10:02 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Medium
n8n is a popular open-source automation tool; MongoDB node usage is a subset
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

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

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