CVE-2026-72775: n8n before 1.123.67 SQL Injection via PostgresTrigger Node
n8n before 1.123.67, 2.31.5, and 2.32.1 contains a SQL injection vulnerability in the PostgresTrigger node, which interpolates user-supplied identifier parameters (channel, function, and trigger names) into SQL statements without proper escaping. An authenticated user can inject arbitrary SQL executed against the connected PostgreSQL database with the configured credential's privileges, allowing full read and write access.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
n8n (PostgresTrigger node)to a version that resolves this vulnerability.Fixed in 1.123.67 - Upgrade
Upgrade
n8n (PostgresTrigger node)to a version that resolves this vulnerability.Fixed in 2.31.5 - Upgrade
Upgrade
n8n (PostgresTrigger node)to a version that resolves this vulnerability.Fixed in 2.32.1