PatchSiren cyber security CVE debrief
CVE-2026-50737 EnterpriseDB CVE debrief
CVE-2026-50737 is a critical vulnerability in the pglogical extension for PostgreSQL, allowing a publisher to escalate privileges to superuser on a subscriber. The issue arises from pglogical's handling of replicated changes for rows missing one or more columns. When applying such changes, pglogical evaluates the affected table's default expressions on the subscriber. Since the apply worker operates 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 level. This allows a publisher to cause functions to be executed on the subscriber as superuser, effectively escalating privileges from a role permitted to use pglogical to full superuser. This vulnerability is particularly concerning in managed deployments where the ability to create subscriptions has been delegated to non-superuser roles. System administrators and security teams managing PostgreSQL deployments with the pglogical extension should review and apply the vendor advisory for CVE-2026-50737. They should restrict subscription creation to superuser roles where possible, monitor for and limit the use of default expressions in pglogical, and implement compensating controls to detect and prevent exploitation.
- Vendor
- EnterpriseDB
- Product
- pglogical
- CVSS
- CRITICAL 9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-28
- Original CVE updated
- 2026-08-24
- Advisory published
- 2026-07-28
- Advisory updated
- 2026-08-24
Who should care
System administrators and security teams managing PostgreSQL deployments with the pglogical extension, especially in managed environments where subscription creation has been delegated to non-superuser roles.
Technical summary
CVE-2026-50737 is a critical vulnerability in the pglogical extension for PostgreSQL. It allows a party acting as a publisher to escalate privileges to superuser on a subscriber by exploiting the evaluation of default expressions on the subscriber. The apply worker in pglogical runs at a privilege level equivalent to a PostgreSQL superuser, enabling the execution of functions invoked by default expressions at that privilege level. This issue is particularly relevant in managed deployments where subscription creation has been delegated to non-superuser roles.
Defensive priority
CVE-2026-50737 is a critical vulnerability in the pglogical extension for PostgreSQL, allowing a publisher to escalate privileges to superuser on a subscriber. This issue requires immediate attention, especially in managed deployments where subscription creation has been delegated to non-superuser roles.
Recommended defensive actions
- Review and apply the vendor advisory for CVE-2026-50737
- Restrict subscription creation to superuser roles where possible
- Monitor for and limit the use of default expressions in pglogical
- Implement compensating controls to detect and prevent exploitation
- Consider upgrading to pglogical version 2.4.8 or later
Evidence notes
The CVE-2026-50737 issue arises from pglogical's handling of replicated changes for rows missing one or more columns. When applying such changes, pglogical evaluates the affected table's default expressions on the subscriber. Since the apply worker operates 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 level. This allows a publisher to cause functions to be executed on the subscriber as superuser, effectively escalating privileges from a role permitted to use pglogical to full superuser. This vulnerability is particularly concerning in managed deployments where the ability to create subscriptions has been delegated to non-superuser roles.
Official resources
-
CVE-2026-50737 CVE record
CVE.org
-
CVE-2026-50737 NVD detail
NVD
-
Source item URL
nvd_modified
-
Mitigation or vendor reference
20be33e2-bf35-4d13-8fad-18bd2f3e3659 - Vendor Advisory
AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-28T19:17:36.827Z and has not been modified since then.