Skip to main content

n8n CVE-2026-103250

| EUVDEUVD-2026-90644 HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-10-01 VulnCheck GHSA-gpvq-4wmp-cp47
7.0
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 MongoDB Chat Memory endpoint
  2. Delivery
    Craft sessionId with Mongo query operators
  3. Exploit
    Bypass session scoping via NoSQL injection
  4. Execution
    Read other users' conversation histories
  5. Impact
    Perform unauthorized writes and deletes

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 that the target n8n instance runs a workflow using the MongoDB Chat Memory node and that its sessionId-handling path is reachable by the attacker (this is the AT:P attack requirement - not a default/stock configuration). Given that prerequisite, no authentication is required (PR:N) and no user interaction (UI:N); the attacker simply supplies MongoDB query operators in the sessionId field. Limiting factors: instances not using the MongoDB Chat Memory node are unaffected, and the exposed data's sensitivity (hence real impact) depends on what conversation content is stored. Fixed in n8n 1.123.80, 2.39.6, and 2.40.1.

Impact

CVSS 4.0 base is 7.0 (vendor/VulnCheck) and the vector is network-reachable and low-complexity with PR:N (unauthenticated), which is a genuine escalation over the sibling n8n advisories in this batch that mostly required PR:L. However, three signals temper the raw score: (1) AT:P indicates an attack requirement - the vulnerable MongoDB Chat Memory node must actually be configured and reachable in a running workflow, so this is not exploitable against a stock install; (2) impact is modest - vendor scores VC:L with VI:N/VA:N on the vulnerable system, pushing severity largely onto subsequent-system metrics (SC:H/SI:L/SA:L) reflecting cross-tenant data exposure plus write/delete of other users' chat histories; (3) exploitation status is low - no EPSS score, no CISA KEV listing, and no public exploit identified at time of analysis. This is a real, prioritizable issue for any deployment using the MongoDB Chat Memory node (the unauthenticated vector makes it worth patching promptly), but it is not a mass-exploitation emergency: the limited confidentiality impact and the feature-configuration prerequisite keep real-world risk moderate rather than critical. Note the vendor's own confidentiality call of VC:L is defensible but arguably light given attackers can read arbitrary users' conversation histories - treat exposed data sensitivity as deployment-dependent.

Exploit ScenarioDerived

An n8n instance exposes a workflow that uses the MongoDB Chat Memory node (e.g., an AI chatbot backend). An unauthenticated attacker submits a sessionId value containing MongoDB query operators (such as a $ne/$gt object) so the query matches sessions belonging to other users, returning their conversation histories; the same operator injection lets the attacker trigger unauthorized write and delete operations against stored memory. No public exploit code has been identified at time of analysis.

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 – Oct 01, 2026

Unauthenticated remote attackers can exploit NoSQL injection in the n8n MongoDB Chat Memory node to bypass sessionId validation and read or manipulate stored conversation histories belonging to other users, rated CVSS 4.0 base 7.0 (network-reachable, low complexity, PR:N) and assessed by us as CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N. The exposure is conditional rather than default: exploitation requires a target instance to run a workflow that uses the MongoDB Chat Memory node and to have its sessionId-handling path reachable (the CVSS 4.0 AT:P attack requirement), so installations that never use that node are unaffected, and the real-world impact depends on the sensitivity of the conversation content stored. Patch is available from the vendor in n8n 1.123.80, 2.39.6 and 2.40.1, and no public exploit code has been identified at time of analysis.

RemediationAI

Upgrade to a fixed release: n8n 1.123.80 for the 1.x line, 2.39.6 for the 2.0.0-through-2.39.x line, or 2.40.1 for the 2.40.x line (Vendor-released patch: 1.123.80, 2.39.6, 2.40.1), following the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-w24g-6454-7w7f. Where upgrading is not immediately possible, the most direct compensating control is to remove or disable MongoDB Chat Memory nodes from any workflow whose sessionId path is externally reachable, accepting loss of conversation-memory functionality for those workflows. Because the affected path is unauthenticated (PR:N), placing the n8n instance or the specific workflow endpoint behind an authenticating reverse proxy or network allow-list reduces who can reach the vulnerable path, at the cost of breaking public/unauthenticated webhook integrations and requiring clients to hold credentials. Restricting outbound network exposure of the instance and auditing MongoDB query logs for operator-shaped sessionId values (for example values beginning with $ or containing query-operator keys) can detect exploitation attempts, and stored conversation histories created before patching should be reviewed for cross-session contamination and, where warranted, purged; note that log-based monitoring is detection-only and does not prevent the read or write of other users' histories.

Affected VersionsENISA

n8n 0 <1.123.80
n8n 2.0.0 <2.39.6
n8n 2.40.0 <2.40.1

Affected Packages

euvd n8n fix: 1.123.80, 2.39.6, 2.40.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 low-code workflow automation platform in which nodes encapsulate integrations and helper services; the MongoDB Chat Memory node is a conversation-memory component that persists LLM chat history in a MongoDB collection keyed by a sessionId value supplied by the caller. The flaw class is CWE-943 (Improper Neutralization of Special Elements in Data Query Logic): the node fails to enforce that sessionId is a literal string, so an attacker can submit MongoDB query operators (for example $ne, $gt or $regex-style constructs) that are interpreted as query-filter documents instead of as an opaque identifier. This is the classic MongoDB NoSQL injection pattern where an operator such as $ne with an empty or wildcard value causes the filter to match records belonging to other sessions, and the same unsanitized input reaching write/delete paths allows modification of those records. CPE cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:* confirms the affected component is the n8n application itself across the vulnerable version ranges, consistent with the EUVD affected-version list (n8n 0 < 1.123.80, 2.0.0 < 2.39.6, 2.40.0 < 2.40.1) and the vendor GitHub advisory GHSA-w24g-6454-7w7f. Our independent vector scores scope change (S:C) because the injection crosses the session/tenant boundary within the shared MongoDB store, with low confidentiality and low integrity impact and no assessed availability impact.

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

Unauthenticated network injection (PR:N/AV:N/AC:L) crossing a user/tenant boundary to other users' data warrants S:C; reads yield C:L and write/delete yield I:L, no availability impact.

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

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
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

2
Patch available
Oct 01, 2026 - 11:01 EUVD
CVE Published
Oct 01, 2026 - 10:41 cve.org
HIGH 7.0

DescriptionCVE.org

n8n versions before 1.123.80, from 2.0.0 before 2.39.6, and from 2.40.0 before 2.40.1 contain a NoSQL injection vulnerability in the MongoDB Chat Memory node that fails to validate the sessionId parameter. Unauthenticated attackers can supply MongoDB query operators in the sessionId field to access conversation histories from other users and perform unauthorized write and delete operations.

Technical POC Analysis

Evidence note: no patch diff and no PoC code were supplied.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

n8n workflow automation instances that use the MongoDB Chat Memory node expose stored conversation histories to unauthenticated attackers, who can bypass sessionId validation to read or tamper with other users' data. The risk is concentrated in teams running AI/chat workflows against shared MongoDB backends, where leaked conversations may contain customer or employee information and could trigger privacy or contractual obligations. Organizations that do not use this node are unaffected, but those that do should treat the exposure as an active data-governance issue rather than a purely technical defect.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
popular open-source Node.js workflow-automation platform, feature is optional
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

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-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

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

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