SQL Injection in Enterprisedb Pglogical
CVE-2026-50736
The pglogical queue mechanism, used to convey out-of-band commands such as replicated DDL from a publisher to a subscriber, executes message payloads on the subscriber at the privilege level of the apply worker, which is equivalent to a PostgreSQL superuser in default installations. A party acting as the publisher can send crafted queue messages that cause arbitrary SQL to be executed on the subscriber as superuser, escalating from a role permitted to use pglogical to full superuser and breaking the isolation between tenants in shared deployments. To exploit the issue an attacker must be able to direct a subscription at an endpoint they control. In default installations this requires privileges normally reserved for a superuser, so the issue is most relevant to managed deployments where the ability to create subscriptions has been delegated to non-superuser roles.
Vulnerability class: SQL Injection
EPSS: 0.002 (15.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Enterprisedb Pglogical — versions 2
Weakness classification (CWE)
References
- 20be33e2-bf35-4d13-8fad-18bd2f3e3659 (Vendor Advisory)
Frequently asked questions
- What is CVE-2026-50736?
- CVE-2026-50736 is a high-severity vulnerability in Enterprisedb Pglogical, classified under SQL Injection. CVSS score: 7.5/10. Published 2026-07-28.
- How severe is CVE-2026-50736?
- High severity. CVSS v3 base score is 7.5 out of 10.