Description
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.
Published: 2026-07-28
Score: 9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The pglogical queue system in the EnterpriseDB PostgreSQL extension executes message payloads on the subscriber at the privilege level of the apply worker, which in default installations grants superuser rights. A malicious publisher that can send crafted queue messages can therefore trigger arbitrary SQL to run as a superuser on the subscriber. This allows an attacker who holds permissions to create or manage pglogical subscriptions to gain full superuser privileges and break isolation between tenants in shared deployments. The weakness is a classic SQL injection leading to code execution at the highest privilege level.

Affected Systems

EnterpriseDB pglogical is the impacted module. No specific version information is supplied by the CNA, so organizations should consult the referenced advisory to verify the applicability to their installation.

Risk and Exploitability

The CVSS score of 9 signifies a critical impact, yet the EPSS score is below 1 %, indicating a very low likelihood of exploitation in the wild at present. The vulnerability is not listed in CISA’s KEV catalog. Because by default only superusers can create subscriptions, the primary attack vector is in managed deployments where non‑superuser roles have been granted that ability. An attacker would need to control a publisher endpoint that can direct messages to the target subscriber.

Generated by OpenCVE AI on August 4, 2026 at 12:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch for EnterpriseDB pglogical as detailed in the official advisory.
  • Restrict the ability to create or modify pglogical subscriptions to superuser or highly trusted roles only.
  • Audit subscription configurations to ensure publishers are trusted and messages are sanitized; if the patch is unavailable, consider disabling the queue mechanism or blocking external publisher connections.

Generated by OpenCVE AI on August 4, 2026 at 12:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 04 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Title Superuser‑Level SQL Injection via pglogical Queue

Sun, 02 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
Title Superuser‑Level SQL Injection via pglogical Queue

Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Enterprisedb
Enterprisedb pglogical
Vendors & Products Enterprisedb
Enterprisedb pglogical

Tue, 28 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description 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.
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 9, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


Subscriptions

Enterprisedb Pglogical
cve-icon MITRE

Status: PUBLISHED

Assigner: EDB

Published:

Updated: 2026-07-28T18:54:34.942Z

Reserved: 2026-06-05T19:13:51.103Z

Link: CVE-2026-50736

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-28T19:17:36.700

Modified: 2026-07-30T16:31:26.770

Link: CVE-2026-50736

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T13:00:11Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')