Skip to content
Heist/ feed
Back to feed
HighFix available

pglogical — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-50736

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.

Products
pglogical
Affected versions
2.4.2-3, 2.4.3-1, 2.4.3-2, 2.4.4-1, 2.4.4-2, 2.4.4-3, 2.4.5-1, 2.4.6-1, 2.4.6-2, 2.4.7-1, 2.4.8-1, 2.4.8-2
Fixed versions
2.4.8-1
CVEs
CVE-2026-50736
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:11 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-50736

core-osv · Original source

Published 28 Jul 2026, 19:17 UTC

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.

osv:DEBIAN-CVE-2026-50736

pglogical

Fixed versions: Not specified

pglogical

Fixed versions: Not specified

pglogical

Fixed versions: 2.4.8-1

Complete source record
{
  "id": "f95729e18c5727155d55b0a683a6fb172c0c035c58524543eb458b62e2a3c6d5",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-50736",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-50736",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-50736",
    "products": [
      {
        "name": {
          "value": "pglogical",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.2-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.3-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.4-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.4-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.6-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.7-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.8-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.8-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pglogical",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.5-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.4.6-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.4.6-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.4.7-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.4.8-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.4.8-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pglogical",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.8-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.4.5-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.4.6-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.4.6-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.4.7-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-50736",
      "aliases": [
        "DEBIAN-CVE-2026-50736"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pglogical",
            "purl": "pkg:deb/debian/pglogical?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.4.2-3",
            "2.4.3-1",
            "2.4.3-2",
            "2.4.4-1",
            "2.4.4-2",
            "2.4.4-3",
            "2.4.5-1",
            "2.4.6-1",
            "2.4.6-2",
            "2.4.7-1",
            "2.4.8-1",
            "2.4.8-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50736.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pglogical",
            "purl": "pkg:deb/debian/pglogical?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "2.4.5-1",
            "2.4.6-1",
            "2.4.6-2",
            "2.4.7-1",
            "2.4.8-1",
            "2.4.8-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50736.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.8-1"
                }
              ]
            }
          ],
          "package": {
            "name": "pglogical",
            "purl": "pkg:deb/debian/pglogical?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "2.4.5-1",
            "2.4.6-1",
            "2.4.6-2",
            "2.4.7-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50736.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-24T10:01:03.966097467Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-50736"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-50736"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-50736",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429067,
  "published_at": "2026-07-28T19:17:36.7+00:00"
}