Skip to main content

n8n CVE-2026-72775

| EUVDEUVD-2026-56101 MEDIUM
SQL Injection (CWE-89)
2026-08-11 VulnCheck GHSA-m6wx-qjxf-vr9v
5.8
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
5.8 MEDIUM
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
vuln.today AI
9.9 CRITICAL

Network-reachable injection via authenticated (PR:L) n8n session changes scope to PostgreSQL backend, yielding full C/I/A impact on that system.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Aug 11, 2026 - 13:17 EUVD
Source Code Evidence Fetched
Aug 11, 2026 - 12:59 vuln.today
Analysis Generated
Aug 11, 2026 - 12:59 vuln.today

DescriptionCVE.org

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.

AnalysisAI

SQL injection in n8n's PostgresTrigger node enables authenticated users to execute arbitrary SQL against connected PostgreSQL databases with the configured credential's full privileges. Affected versions span the n8n 1.x branch before 1.123.67, the 2.x branch before 2.31.5, and the 2.32.x branch before 2.32.1. Successful exploitation yields unrestricted read and write access to the backend PostgreSQL instance - a scope-change impact confirmed by the CVSS 4.0 SC:H/SI:H/SA:H rating - with no public exploit identified at time of analysis and no CISA KEV listing.

Technical ContextAI

n8n (cpe:2.3:a:n8n-io:n8n) is a Node.js-based workflow automation platform distributed via npm. The PostgresTrigger node allows workflows to react to PostgreSQL LISTEN/NOTIFY events and database triggers. The root cause (CWE-89: SQL Injection) is that user-supplied identifier parameters - specifically the channel name, function name, and trigger name - are interpolated directly into dynamically constructed SQL strings without sanitization or parameterization. Because SQL identifiers (table names, function names, channel names) cannot be passed as bind parameters in standard PostgreSQL drivers, the node relied on string interpolation, creating the injection surface. The configured PostgreSQL credential governs the blast radius: if the credential holds superuser or broad schema privileges, the attacker inherits them entirely.

RemediationAI

Vendor-released patches are available: upgrade n8n to version 1.123.67 (for 1.x deployments), 2.31.5 (for 2.x deployments below 2.32.0), or 2.32.1 (for 2.32.x deployments), per the GitHub Security Advisory GHSA-jqwr-vx3p-r266. If immediate upgrade is not feasible, three mitigations are available with trade-offs. First, restrict n8n instance access to fully trusted users only - this limits the authenticated attacker pool but does not eliminate the vulnerability and may not be operationally viable in multi-user environments. Second, disable the PostgresTrigger node entirely by adding 'n8n-nodes-base.postgresTrigger' to the NODES_EXCLUDE environment variable - this prevents exploitation of this specific attack surface but breaks any workflows relying on PostgreSQL trigger-based event handling. Third, ensure PostgreSQL credentials configured in n8n are scoped to minimum required privileges and explicitly exclude SUPERUSER roles - this does not prevent exploitation but limits the blast radius by constraining what injected SQL can accomplish. The vendor explicitly notes these workarounds do not fully remediate the risk and should be treated as short-term measures only.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

Share

CVE-2026-72775 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy