N8n-io n8n
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by NVD · CWE-89
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
n8n-io n8n
- < 1.123.67
Fixed in 1.123.67
n8n-io n8n
- >= 2.32.0, < 2.32.1
Fixed in 2.32.1
n8n-io n8n
- >= 2.0.0-rc.0, < 2.31.5
Fixed in 2.31.5
Mitigation
Upgrade n8n to 1.123.67 or later.
Upgrade n8n to 2.32.1 or later.
Upgrade n8n to 2.31.5 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.