Privilege Escalation Vulnerability in PostgreSQL's pglogical Queue Mechanism
CVE-2026-50736

9CRITICAL

Key Information:

Status
Vendor
CVE Published:
28 July 2026

What is CVE-2026-50736?

The pglogical queue mechanism in PostgreSQL is susceptible to a vulnerability that allows an attacker to execute arbitrary SQL commands on the subscriber's server as a superuser. This occurs due to the queue's handling of out-of-band commands, which processes message payloads at elevated privilege levels. If an attacker can direct a subscription to a controlled endpoint, they can escalate their permissions from a lower role to full superuser privileges, effectively breaching the multi-tenant isolation typically maintained in shared PostgreSQL deployments. Managed environments are particularly at risk as they may involve non-superuser roles being delegated the ability to create subscriptions.

Affected Version(s)

pglogical 2

References

CVSS V4

Score:
9
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Mehmet Ince (@mdisec)
.