SQL injection in n8n - #VU139116
Published: July 22, 2026
n8n
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary SQL on connected PostgreSQL instances.
The vulnerability exists due to sql injection in the Postgres Trigger node when processing user-supplied identifier parameters. A remote user can supply crafted channel, function, or trigger names to execute arbitrary SQL on connected PostgreSQL instances.
Injected SQL is executed with the privileges of the configured PostgreSQL credentials, which can result in full read and write access to the connected database.