Skip to main content

n8n EUVDEUVD-2026-70402

| CVE-2026-85167 MEDIUM
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-09-03 VulnCheck GHSA-7mp8-q29w-rc68
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to n8n with low-privilege account
  2. Delivery
    Access or create workflow using Elasticsearch or Firestore node
  3. Exploit
    Inject quote/brace characters into expression value
  4. Execution
    Malformed JSON query sent to Elasticsearch or Firestore backend
  5. Persist
    Query operator escape converts lookup to match-all
  6. Impact
    Full collection contents returned to workflow output

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 valid n8n account with sufficient privileges to create or modify workflows (PR:L). The attacker must have access to an n8n instance where either the Elasticsearch Document Get All node or the Google Cloud Firestore Document Query node is in use, and must be able to supply or influence the expression value passed to the query field in one of those nodes. Exploitation is limited to these two specific node types; other n8n nodes are not described as affected. The impact is bounded to data accessible via the Elasticsearch index or Firestore collection that n8n's configured service credentials can read - overly permissive n8n service credentials significantly amplify the blast radius. Unauthenticated exploitation is not possible given PR:L in the CVSS vector.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N with SC:H/SI:N/SA:N reflects the key risk profile: network-accessible, low complexity, no user interaction, but gated behind low-privilege authentication. The scope change (S:C, or SC:H in 4.0 terms) is accurate - the vulnerable system is n8n, but the impact lands on the downstream Elasticsearch or Firestore data stores. This means a low-privileged n8n user (e.g., a shared workspace member or a user with limited workflow-editor rights) could read entire data collections that were never intended to be accessible to them. EPSS data was not supplied; no KEV listing and no public PoC are identified, making opportunistic mass exploitation unlikely at this time. The realistic risk is an insider or compromised low-privilege account in an n8n instance with Elasticsearch or Firestore integrations. Organizations using n8n's multi-user or team features with externally-sourced input in workflow expressions are most exposed. The 6.3 base score understates the data-exposure potential for organizations whose n8n workflows handle sensitive collection data.

Exploit ScenarioDerived

An attacker with a low-privileged n8n account (e.g., a shared workspace collaborator) edits or creates a workflow that uses the Elasticsearch Document Get All node with an expression value they control. By providing a value like "}},{"match_all":{}} in the query field, the interpolated string closes the intended document-ID field and appends a match_all operator, causing n8n to submit a query that returns all documents in the target index to the workflow output - bypassing the intended single-document scope. No public proof-of-concept code has been identified, but the technique is straightforward for anyone familiar with Elasticsearch DSL or Firestore query syntax.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Sep 03, 2026

Query injection in n8n's Elasticsearch and Google Cloud Firestore workflow nodes allows a low-privileged authenticated user to escalate a single-document lookup into a full-collection read by injecting quote and brace characters into expression values. Affected versions are n8n before 2.35.4 and 2.36.x before 2.36.2. The CVSS 4.0 vector scores this at 6.3 with high subsequent-system confidentiality impact, reflecting that the vulnerable system itself is not directly compromised but the connected Elasticsearch or Firestore data stores can be fully exposed. No public exploit code or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade n8n to 2.35.4 (in the 2.35.x stream) or 2.36.2 (in the 2.36.x stream) per the vendor security advisory GHSA-wxwj-8wv6-vpw2 at https://github.com/n8n-io/n8n/security/advisories/GHSA-wxwj-8wv6-vpw2. If an immediate upgrade is not feasible, administrators should audit all existing workflows using the Elasticsearch Document Get All or Google Cloud Firestore Document Query nodes and identify any that accept externally-controlled or untrusted expression values as query parameters. As a compensating control, restrict the Elasticsearch indices or Firestore collections accessible by n8n's service credentials to only the minimum required documents, limiting the data an injected full-collection read can return. Additionally, enforce least-privilege on n8n user accounts so that only trusted operators can create or modify workflows involving these nodes. Blocking untrusted users from editing workflows that touch these nodes is a meaningful risk reduction but not a substitute for patching.

Affected VersionsENISA

n8n 0 <2.35.4
n8n 0 <2.36.2

Affected Packages

euvd n8n fix: 2.35.4, 2.36.2

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 (CPE: cpe:2.3:a:n8n-io:n8n) is a self-hostable workflow automation platform that connects external services via nodes. The affected nodes - Elasticsearch Document Get All and Google Cloud Firestore Document Query - construct their JSON query bodies by performing string interpolation of user-supplied n8n expression values directly into the query template before the JSON is parsed. CWE-943 (Improper Neutralization of Special Elements in Data Query Logic) describes this class: when input containing structural characters such as quotes (") and braces ({}) is embedded unsanitized into a JSON-based query, the resulting string can close the intended field boundary, inject additional JSON keys, and introduce query operators (e.g., range, wildcard, or match-all operators in Elasticsearch DSL; full-collection scan operators in Firestore). The root cause is missing input sanitization or parameterization at the query-construction layer before deserialization.

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

Low-privilege authenticated access required; scope change to downstream data stores; full-collection read gives high confidentiality, no integrity or availability impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
Patch available
Sep 03, 2026 - 13:01 EUVD

DescriptionCVE.org

n8n before 2.35.4 and 2.36.x before 2.36.2 contain a query injection vulnerability in the Elasticsearch Document Get All and Google Cloud Firestore Document Query operations, which build their JSON query by interpolating expression values directly into the query string before parsing. A value containing quote and brace characters can close the intended field and introduce new query operators, turning an intended single-document lookup into a full-collection read.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular self-hosted workflow automation tool among developers
Data Quality
7 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
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

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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