CVE-2026-50737 Details
Description
When applying replicated changes for a row that is missing one or more columns, pglogical evaluates the affected table's default expressions on the subscriber. Because the apply worker runs at a privilege level equivalent to a PostgreSQL superuser in default installations, any function invoked by such a default expression also runs at that privilege. A party acting as the publisher can use this path to cause functions to be executed on the subscriber as superuser, escalating from a role permitted to use pglogical to full superuser. This is a second, independent path to the same superuser escalation tracked under CVE-2026-50736 (the pglogical queue issue). 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.
A vulnerability in pglogical allows for unauthorized escalation to superuser privileges on the subscriber side. This occurs when replicated changes are applied to a row missing one or more columns, causing the affected table's default expressions to be evaluated on the subscriber. Since the apply worker operates with superuser privileges by default, any functions called by these default expressions are also executed as superuser. An attacker can exploit this by directing a subscription to an endpoint they control, which is possible in managed deployments where non-superuser roles have been granted subscription privileges.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.enterprisedb.com/docs/security/advisories/cve202650737/ | EnterpriseDB Corporation | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-250 | Execution with Unnecessary Privileges | EnterpriseDB Corporation |
Affected Products
| Product | Versions |
|---|---|
| enterprisedb pglogical | >= 2.0.0, < 2.4.8 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 24, 2026 | Initial Analysis | [email protected] |
| Jul 28, 2026 | New CVE Received | EnterpriseDB Corporation |
| Jul 28, 2026 | CVE Modified | CISA-ADP |