CVE-2026-50736
JSON

9.0critical

The pglogical queue mechanism, used to convey out-of-band commands such as replicated DDL from a publisher to a subscriber, executes messag…

Severity
9.0critical CVSS:4.0 by EDB
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
EDB

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.

Affected

Product or packageVersionsReported by
EnterpriseDB pglogicalfrom 2 before 2.4.8, from 2.0.0 before 2.4.8CVE List, NVD

All scores

EDB9.0critical CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

El mecanismo de cola de pglogical, utilizado para transmitir comandos fuera de banda como DDL replicado de un publicador a un suscriptor, ejecuta las cargas útiles de los mensajes en el suscriptor con el nivel de privilegio del trabajador de aplicación, que es equivalente a un superusuario de PostgreSQL en instalaciones predeterminadas. Una parte que actúa como publicador puede enviar mensajes de cola manipulados que provocan la ejecución de SQL arbitrario en el suscriptor como superusuario, escalando de un rol permitido para usar pglogical a superusuario completo y rompiendo el aislamiento entre inquilinos en despliegues compartidos. Para explotar el problema, un atacante debe poder dirigir una suscripción a un punto final que controlan. En instalaciones predeterminadas, esto requiere privilegios normalmente reservados para un superusuario, por lo que el problema es más relevante para despliegues gestionados donde la capacidad de crear suscripciones ha sido delegada a roles que no son superusuarios.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-50736 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-50736 changed 2026-10-23Public domain