CVE-2026-50736
KrytyczneCVSS 9.0Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 9 - wyżej niż 9% wszystkich znanych CVE
Streszczenie
Mechanizm kolejki pglogical, używany do przesyłania poleceń spoza pasma, takich jak replikowane DDL, wykonuje ładunki wiadomości na subskrybencie z uprawnieniami superużytkownika PostgreSQL. Osoba działająca jako wydawca może wysłać spreparowane wiadomości, które wykonują dowolne SQL na subskrybencie jako superużytkownik, co pozwala na eskalację uprawnień i naruszenie izolacji między dzierżawcami.
Ocena ryzyka
Atakujący z uprawnieniami do tworzenia subskrypcji pglogical może uzyskać pełną kontrolę nad instancją PostgreSQL jako superużytkownik, co prowadzi do naruszenia poufności i integralności danych oraz potencjalnego przejęcia całego systemu.
Rekomendacja
Ogranicz uprawnienia do tworzenia subskrypcji pglogical tylko do zaufanych ról i rozważ użycie mechanizmów izolacji, takich jak oddzielne instancje PostgreSQL dla różnych dzierżawców.
Oryginalny opis (angielski, źródło NVD)
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.

