PT-2026-65563 · Postgresql · Pglogical
CVSS v4.0
9.0
Critical
| Vector | AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
Name of the Vulnerable Software and Affected Versions
pglogical (affected versions not specified)
Description
When applying replicated changes for a row missing one or more columns, pglogical evaluates the affected table's default expressions on the subscriber. Since the apply worker operates with privileges equivalent to a PostgreSQL superuser in default installations, any function triggered by a default expression also executes with those privileges. A malicious publisher can exploit this to execute functions on the subscriber as a superuser, escalating privileges from a role permitted to use pglogical to full superuser. This issue is particularly relevant in managed deployments where the ability to create subscriptions has been delegated to non-superuser roles, as exploitation requires directing a subscription to an endpoint controlled by the attacker.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pglogical