SQL injection in n8n - CVE-2026-54310
Published: June 16, 2026
n8n
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary SQL commands against the connected database.
The vulnerability exists due to SQL injection in the TimescaleDB and legacy Postgres v1 nodes when processing crafted node parameters. A remote user can supply crafted parameters to execute arbitrary SQL commands against the connected database.
Exploitation requires permission to create or modify workflows, and injected SQL runs within the privileges of the configured database account.