Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as n8n user
-
DeliveryCreate or modify workflow with Data Table Get node
-
ExploitInject malicious SQL into node parameters
-
ExecutionExecute arbitrary SQL queries on PostgreSQL database
-
ImpactModify or delete sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated n8n user with workflow creation/modification permissions. Attacker exploits SQL injection in Data Table Get node. SQLite deployments have limited impact (single statements only). PostgreSQL deployments allow multi-statement execution enabling data modification/deletion. Affects n8n versions before 1.123.26, 2.13.3, and 2.14.1. |
| Impact | The CVSS 4.0 score of 8.7 with vector AV:N/AC:L/PR:L/UI:N indicates this is a remotely exploitable vulnerability with low attack complexity requiring only low-level authenticated privileges and no user interaction, presenting a significant risk profile. However, the real-world risk is substantially moderated by the requirement for authenticated access with workflow creation permissions, limiting the attack surface to insider threats or compromised accounts. The critical distinction between SQLite (limited impact) and PostgreSQL (full data compromise) deployments means risk assessment must be environment-specific. Without EPSS data, KEV listing, or public POC availability, this appears to be a high-CVSS issue requiring priority attention primarily for PostgreSQL deployments with multiple or less-trusted authenticated users, while SQLite installations face comparatively lower practical risk. The availability of patches across multiple version branches (1.x, 2.13.x, 2.14.x) and comprehensive workarounds suggests this should be prioritized for remediation but does not indicate imminent widespread exploitation. |
| Exploit ScenarioDerived | An authenticated attacker with workflow creation privileges crafts a malicious n8n workflow containing a Data Table Get node with a specially crafted orderByColumn expression that injects SQL commands. On a PostgreSQL-backed n8n instance, the attacker executes the workflow to perform stacked SQL queries that exfiltrate sensitive workflow data, modify user permissions in the database, or delete critical configuration tables, potentially compromising the entire n8n deployment and any connected systems accessible through stored credentials. The low attack complexity means exploitation requires only basic SQL injection knowledge and legitimate authenticated access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 25, 2026
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute arbitrary SQL queries against PostgreSQL backends, enabling data modification and deletion. Public exploit code exists for this vulnerability. Affected versions prior to 1.123.26, 2.13.3, and 2.14.1 should be upgraded immediately, or workflow creation/editing permissions should be restricted to trusted users only.
Earlier versions of this analysis (1)
A SQL injection vulnerability exists in the Data Table Get node of n8n workflow automation platform, allowing authenticated users with workflow creation or modification permissions to manipulate database queries. On default SQLite deployments, the impact is limited to single statement manipulation, but PostgreSQL installations are critically vulnerable to multi-statement execution enabling data modification and deletion. The CVSS score of 8.7 indicates high severity with network-based attack vector requiring low privileges and no user interaction, though no evidence of active exploitation (KEV) or public POC availability has been reported.
RemediationAI
Upgrade n8n to version 1.123.26, 2.13.3, 2.14.1 or later depending on your current version branch to fully remediate this vulnerability (see GitHub advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-98c2-4cr3-4jc3). If immediate patching is not feasible, implement temporary mitigations including restricting workflow creation and editing permissions exclusively to fully trusted users, disabling the Data Table node by adding n8n-nodes-base.dataTable to the NODES_EXCLUDE environment variable, and auditing existing workflows to identify Data Table Get nodes where orderByColumn uses expressions incorporating external or user-supplied input. Note that these workarounds provide only partial risk reduction and should be considered short-term measures until proper patching can be completed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability affects n8n workflow automation platform (cpe:2.3:a:n8n-io:n8n) and is rooted in CWE-89 (SQL Injection). The Data Table Get node's orderByColumn parameter fails to properly sanitize user-supplied input when it incorporates expressions or external data, allowing SQL code injection into database queries. The technical impact varies significantly by database backend: SQLite's single-statement execution model inherently limits exploitation surface, while PostgreSQL's multi-statement capabilities enable stacked queries that can perform arbitrary data manipulation operations including INSERT, UPDATE, DELETE, and potentially privilege escalation through database-specific functions. This differential impact highlights how the underlying database technology directly influences exploitability severity.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
n8n is an open source workflow automation platform. Prior to versions 2.14.1, 2.13.3, and 1.123.26, an authenticated user with permission to create or modify workflows could exploit a SQL injection vulnerability in the Data Table Get node. On default SQLite DB, single statements can be manipulated and the attack surface is practically limited. On PostgreSQL deployments, multi-statement execution is possible, enabling data modification and deletion. The issue has been fixed in n8n versions 1.123.26, 2.13.3, and 2.14.1. Users should upgrade to one of these versions or later to remediate the vulnerability. If upgrading is not immediately possible, administrators should consider the following temporary mitigations: Limit workflow creation and editing permissions to fully trusted users only, disable the Data Table node by adding n8n-nodes-base.dataTable to the NODES_EXCLUDE environment variable, and/or review existing workflows for Data Table Get nodes where orderByColumn is set to an expression that incorporates external or user-supplied input. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Executive ViewAI
A SQL injection vulnerability in n8n's Data Table Get node allows authenticated workflow users to manipulate database queries, posing a critical risk to organizations using PostgreSQL backends where attackers could modify or delete data. Organizations running n8n workflows should immediately assess their deployment type and restrict access to workflow creation capabilities until mitigation is implemented.
Disable the Data Table Get node if not actively used in workflows; implement network segmentation restricting n8n instance database connectivity; enforce restrictive RBAC limiting workflow creation/modification to trusted administrators only; deploy WAF rules to detect and block SQL injection payloads in HTTP requests to n8n; configure database query logging and alerts for anomalous multi-statement execution patterns; if possible, migrate PostgreSQL deployments to SQLite temporarily to reduce blast radius; monitor vendor advisory channels for patch ETA.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Related Vulnerabilities in n8n Workflow Automation Multiple Flaws
View all 3Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
n8n workflow automation platform Community Edition contains an authorization bypass vulnerability allowing authenticated
EUVD-2026-15947
GHSA-98c2-4cr3-4jc3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB