Skip to main content

n8n CVE-2026-103258

| EUVDEUVD-2026-90652 MEDIUM
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-10-01 VulnCheck GHSA-fr2j-m9j7-53r7
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach workflow with external-input-bound node
  2. Delivery
    Inject query-literal breakout characters
  3. Exploit
    Break out of single-record filter
  4. Execution
    Widen lookup to match-all query
  5. Impact
    Exfiltrate bulk contacts/tickets/directory records

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 an n8n workflow actually uses a SendGrid, Freshservice, or ServiceNow node, AND that a vulnerable lookup/filter parameter on that node is bound to untrusted external input (e.g. a webhook payload, form field, or other attacker-influenced upstream value) rather than a static value - this is the AT:P attack requirement. If the node parameters are hardcoded or sourced only from trusted data, the match-all widening cannot be triggered. No n8n account is needed (PR:N) and no user interaction is required (UI:N), but the specific node and data-binding configuration are the real limiting factors. Impact is bounded to bulk read exposure (contacts, tickets, directory entries) on the connected third-party service, not the n8n host itself.

Impact

This is a genuine data-exposure flaw but a moderate operational priority. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) scores 6.9, driven largely by the scope-change (SC:H) and the 'attack requirement' (AT:P) acknowledging that exploitation is not possible against a default install - a workflow author must have configured a SendGrid, Freshservice, or ServiceNow node and bound a vulnerable parameter to untrusted external input (e.g. a webhook field). The actual confidentiality impact is only Low (VC:L): the bug widens a single-record lookup into a match-all query, leaking bulk records (contact lists, tickets, directory entries) but not full secrets, and there is no integrity or availability impact. No EPSS score, no CISA KEV listing, and no public proof-of-concept are present in the provided data, so there is no public exploit identified at time of analysis - exploitation potential is theoretical and conditional. No SSVC decision data was supplied. Net: a real injection/authorization-widening bug worth patching, but gated behind specific node usage and non-default data-binding, so not an emergency relative to its headline score. Note the input Tags include 'Authentication Bypass,' which conflicts with the CWE-943 query-injection nature of this flaw - treat the auth-bypass label as inaccurate.

Exploit ScenarioDerived

An n8n workflow uses a SendGrid, Freshservice, or ServiceNow node whose lookup/filter parameter is populated from untrusted external input (such as an incoming webhook or form submission). An attacker supplies input containing query-literal breakout characters, escaping the intended single-record filter and turning it into a match-all query that returns the entire contact list, ticket queue, or directory. No authentication to n8n is required (PR:N), but the vulnerable node must be in use and bound to attacker-reachable input (AT:P); no public PoC is available.

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

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

Alert me

AnalysisAIv1 – Oct 01, 2026

Filter bypass in the SendGrid, Freshservice, and ServiceNow nodes of n8n (versions before 2.39.6 and 2.40.0 before 2.40.1) lets unescaped parameter interpolation break out of query literals and widen single-record lookups into match-all queries, exposing bulk data such as contact lists, tickets, and directory entries on the connected third-party service. Exploitation is unauthenticated (CVSS:3.1/AV:N/AC:L/PR:N/UI:N) but conditional: the workflow must actually use one of the three affected nodes and bind a vulnerable lookup/filter parameter to untrusted external input, which is reflected in the AT:P attack-requirement rating. No public exploit code was identified at time of analysis and the issue is not in CISA KEV; impact is bounded to bulk read exposure of third-party data, not compromise of the n8n host itself, and a vendor-released patch is available.

RemediationAI

Vendor-released patch: upgrade to n8n 2.39.6 (for the 2.39.x line and earlier) or 2.40.1 (for deployments on 2.40.0), per the GitHub advisory GHSA-5pg9-2vqx-r6jm. Patching is the only complete fix because the flaw is in the nodes' query construction itself. If immediate upgrade is not possible, treat this as a configuration-dependent issue and reduce exposure: identify every workflow using the SendGrid, Freshservice, or ServiceNow nodes and audit whether any lookup/filter parameter is bound to externally influenced data (webhook bodies, form submissions, chat or email input, upstream HTTP responses); rebind those parameters to static or allow-listed values, or insert a validation/transformation step that strips query metacharacters and enforces the intended single-record identifier - the trade-off is reduced workflow dynamism and possible breakage of legitimate dynamic lookups. Additionally, limit which external triggers can reach the vulnerable nodes, since the attacker must supply the malicious value through a trigger path; note that this narrows attack surface but does not remediate the underlying interpolation defect, and hardcoded-parameter workflows need no action. Rotate or scope down the credentials used by the affected integrations (SendGrid, Freshservice, ServiceNow) to the minimum record set required, so that a successful match-all query yields less data - a compensating control only, not a substitute for patching. No public exploit code was identified at time of analysis, so emergency out-of-band change-management steps are not warranted; schedule the upgrade as a moderate-priority maintenance action and verify afterward that no workflow still passes untrusted input directly into these parameters.

Affected VersionsENISA

n8n 2.40.0 <2.40.1
n8n 0 <2.39.6

Affected Packages

euvd n8n fix: 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 workflow automation platform whose nodes translate user-configured parameters into queries against external SaaS APIs. The affected SendGrid, Freshservice, and ServiceNow nodes interpolate parameter values directly into query literals without escaping or type-safety enforcement, the classic improper neutralization of special elements in data query logic (CWE-943, tracked in this disclosure as NoSQL injection / authentication-bypass style filter evasion). An attacker who can influence a parameter value - through a webhook payload, form field, or other attacker-controlled upstream data - can inject syntactic characters that terminate the intended literal and append match-all operators, converting a lookup intended to return a single record into one that returns the entire collection. Because the node operates with its own configured service credentials, the injected query executes with the privileges of the connected SendGrid, Freshservice, or ServiceNow integration, which is why the scope is changed (S:C) in the assessed vector even though confidentiality impact is limited (C:L) and there is no integrity or availability effect. Only the three named nodes are affected; the vulnerability does not exist in the n8n core engine itself.

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

Network, no auth and no interaction (PR:N/UI:N); scope changes to the connected third-party service (S:C); only bulk read exposure (C:L), no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/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
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
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Oct 01, 2026 - 11:01 EUVD

DescriptionCVE.org

n8n versions before 2.39.6 and 2.40.0 before 2.40.1 contain an unescaped parameter interpolation vulnerability in SendGrid, Freshservice, and ServiceNow nodes that allows attackers to bypass filters by breaking out of query literals. Attackers can exploit this by binding vulnerable node parameters to untrusted external input to widen single-record lookups into match-all queries, exposing bulk data including contact lists, tickets, and directory entries.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular open-source Node.js workflow-automation platform, not ubiquitous infrastructure
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.3%
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

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