CVE-2026-72775
MEDIUM 5.8CVSS 4.0n8n: PostgresTrigger Node SQL Injection Allows Authenticated Users to Execute Arbitrary SQL on Connected PostgreSQL Instances
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.
- Published
- 11 Aug 2026
- Last modified
- 29 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-jqwr-vx3p-r266
- Sources
- NVDJSONOSV GHSA-jqwr-vx3p-r266JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 5.8 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
< 1.123.67 | 1.123.67 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
>= 2.31.0, < 2.31.5 | 2.31.5 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:2.32.0:*:*:*:*:node.js:*:* |
= 2.32.0 | |
| OSV | npm | n8n | < 1.123.67 | 1.123.67 |
| OSV | npm | n8n | >= 2.32.0, < 2.32.1 | 2.32.1 |
| OSV | npm | n8n | >= 2.0.0-rc.0, < 2.31.5 | 2.31.5 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-jqwr-vx3p-r266 · Mitigation, Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/n8n-before-sql-injection-via-postgrestrigger-node · Third Party Advisory
- https://github.com/n8n-io/n8n · PACKAGE
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.67 · WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5 · WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 11 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jul 2026)