{"id":"CVE-2026-50737","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"When applying replicated changes for a row that is missing one or more columns, pglogical evaluates the affected table'…","description":"When applying replicated changes for a row that is missing one or more columns, pglogical evaluates the affected table's default expressions on the subscriber. Because the apply worker runs at a privilege level equivalent to a PostgreSQL superuser in default installations, any function invoked by such a default expression also runs at that privilege. A party acting as the publisher can use this path to cause functions to be executed on the subscriber as superuser, escalating from a role permitted to use pglogical to full superuser.\n\nThis is a second, independent path to the same superuser escalation tracked under CVE-2026-50736 (the pglogical queue issue). 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.","ai_summary":null,"severity":"critical","cvss":{"score":9,"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":"CNA"},"scores":[{"score":9,"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":"cna"},{"score":9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"cna"},{"score":7.5,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd"}],"cwe":["CWE-250"],"remote":true,"remote_unauth":false,"epss":{"score":0.00397,"percentile":0.25503,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"EnterpriseDB","product":"pglogical","versions":">= 2, < 2.4.8","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade pglogical to 2.4.8 or later.","technologies":[],"references":[{"url":"https://www.enterprisedb.com/docs/security/advisories/cve202650737/","kind":"vendor"}],"workarounds":null,"vendors":["enterprisedb"],"products":["pglogical"],"cpes":["cpe:2.3:a:enterprisedb:pglogical:*:*:*:*:*:postgresql:*:*"],"published_at":"2026-07-28T17:55:43.126Z","modified_at":"2026-10-23T23:10:00.157Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50737"}],"links":{"html":"https://flawdb.com/CVE-2026-50737","markdown":"https://flawdb.com/CVE-2026-50737.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-50737"}}