In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade n8n-nodes-base to version 1.121.42, 2.31.3, 2.32.1 or higher.
n8n-nodes-base is a Base nodes of n8n
Affected versions of this package are vulnerable to SQL Injection via the PostgresTrigger. An attacker can execute arbitrary SQL commands on the connected PostgreSQL database by supplying crafted input to identifier parameters, leading to full read and write access with the configured credential's privileges.
This vulnerability can be mitigated by restricting instance access to fully trusted users, disabling the PostgresTrigger node by adding n8n-nodes-base.postgresTrigger to the NODES_EXCLUDE environment variable, and ensuring PostgreSQL credentials have minimum required privileges and do not use SUPERUSER roles.