Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n8n-io n8n
Default version status: unaffected
0 to < 1.123.67affected1.123.67unaffected
pkg:npm/n8nn8n-io n8n
Default version status: unaffected
2.32.0 to < 2.32.1affected2.32.1unaffected
pkg:npm/n8nn8n-io n8n
Default version status: unaffected
2.0.0-rc.0 to < 2.31.5affected2.31.5unaffected
pkg:npm/n8n