{"id":"CVE-2026-50736","state":"PUBLISHED","title":"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 privi","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.","publishedAt":"2026-07-28T17:55:27.283Z","updatedAt":"2026-07-28T18:54:34.942Z","severity":{"score":9,"label":"Critical","version":"4.0","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","source":"EDB"},"assigner":"EDB","products":["EnterpriseDB pglogical"],"affected":[{"vendor":"EnterpriseDB","product":"pglogical","defaultStatus":"affected","versions":[{"version":"2","status":"affected","lessThan":"2.4.8","versionType":"semver"}]}],"references":["https://www.enterprisedb.com/docs/security/advisories/cve202650736/"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/50xxx/CVE-2026-50736.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-50736","state":"PUBLISHED","datePublished":"2026-07-28T17:55:27.283Z","dateUpdated":"2026-07-28T18:54:34.942Z","assignerShortName":"EDB","assignerOrgId":"20be33e2-bf35-4d13-8fad-18bd2f3e3659","dateReserved":"2026-06-05T19:13:51.103Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"EnterpriseDB","product":"pglogical","defaultStatus":"affected","versions":[{"version":"2","status":"affected","lessThan":"2.4.8","versionType":"semver"}]}],"references":[{"url":"https://www.enterprisedb.com/docs/security/advisories/cve202650736/"}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":9,"baseSeverity":"CRITICAL","vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"EDB","orgId":"20be33e2-bf35-4d13-8fad-18bd2f3e3659","dateUpdated":"2026-07-28T17:55:27.283Z"},"credits":[{"lang":"en","value":"Mehmet Ince (@mdisec)","type":"finder"}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-28T18:54:11.406226Z","id":"CVE-2026-50736","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-28T18:54:34.942Z"}}]}}}