CVE-2026-72775

n8n before 1.123.67 SQL Injection via PostgresTrigger Node

State
Published
Severity
5.8 Medium
Published
Aug 11, 2026
Updated
Oct 29, 2026
Reserved
Aug 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.8 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:HVulnCheck

Weaknesses

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Affected Products

ProductVersions
n8nn8n-io
  • before 1.123.67Affected
  • 1.123.67Not affected
n8nn8n-io
  • 2.32.0 to before 2.32.1Affected
  • 2.32.1Not affected
n8nn8n-io
  • 2.0.0-rc.0 to before 2.31.5Affected
  • 2.31.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.