Impact
The vulnerability is a SQL injection flaw in the MySQL, PostgreSQL, and Microsoft SQL nodes of n8n. It occurs when unescaped identifier values are used in node configuration parameters, allowing an attacker with workflow creation permissions to inject arbitrary SQL. This can lead to unauthorized database commands, violating data integrity and potentially exposing or deleting data.
Affected Systems
The affected vendor is n8n and the product is n8n. Versions prior to 2.4.0 are vulnerable, specifically the database nodes that integrate with MySQL, PostgreSQL, and Microsoft SQL Server within n8n workflows.
Risk and Exploitability
The CVSS score of 5.3 indicates moderate severity. With no EPSS available and not listed in KEV, the exploitation risk is lower but still present. The likely attack vector requires an authenticated user with workflow creation permissions on the n8n instance. Once authenticated, the attacker can supply specially crafted table or column names to manipulate the database, compromising data integrity.
OpenCVE Enrichment
Github GHSA