Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| n8n-io / n8n | affected 0 before 1.123.67; unaffected 1.123.67 |
| n8n-io / n8n | affected 0 before 2.32.1; unaffected 2.32.1 |
| n8n-io / n8n | affected 0 before 2.31.5; unaffected 2.31.5 |
CWE
CWE-89
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-jqwr-vx3p-r266
- https://www.vulncheck.com/advisories/n8n-before-sql-injection-via-postgrestrigger-node
ADP enrichment
No English description supplied.
No references supplied.