Skip to content

CVE-2026-72775 n8n before 1.123.67 SQL Injection via PostgresTrigger Node

MediumCVSS 5.8 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
n8n < 1.123.67; = 2.32.0; >= 2.31.0, < 2.31.5 1.123.67, 2.31.5 Fixed
npm n8n < 1.123.67; >= 2.0.0-rc.0, < 2.31.5; >= 2.32.0, < 2.32.1 1.123.67, 2.31.5, 2.32.1 Fixed
npm n8n(npm) < 1.123.67; >= 2.0.0-rc.0, < 2.31.5; >= 2.32.0, < 2.32.1 1.123.67, 2.31.5, 2.32.1 Fixed

Affected products

ProductAffected versionsFixed in
npm n8n < 1.123.67 1.123.67
npm n8n >= 2.32.0, < 2.32.1 2.32.1
npm n8n >= 2.0.0-rc.0, < 2.31.5 2.31.5
n8n < 1.123.67 1.123.67
n8n >= 2.31.0, < 2.31.5 2.31.5
n8n = 2.32.0 No fix listed
npm n8n(npm) < 1.123.67 1.123.67
npm n8n(npm) >= 2.32.0, < 2.32.1 2.32.1
npm n8n(npm) >= 2.0.0-rc.0, < 2.31.5 2.31.5

References