Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2025-2506

When pglogical attempts to replicate data, it does not verify it is using a replication connection, which means a user with CONNECT access to a database configured for replication

Description

When pglogical attempts to replicate data, it does not verify it is using a replication connection, which means a user with CONNECT access to a database configured for replication can execute the pglogical command to obtain read access to replicated tables. When pglogical runs it should verify it is running on a replication connection but does not perform this check. This vulnerability was introduced in the pglogical 3.x codebase, which is proprietary to EDB. The same code base has been integrated into BDR/PGD 4 and 5. To exploit the vulnerability the attacker needs at least CONNECT permissions to a database configured for replication and must understand a number of pglogical3/BDR specific commands and be able to decode the binary protocol.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

EnterpriseDB pglogical

Default version status: affected

  • 3 to < 3.7.26-ELSaffected

EnterpriseDB BDR/PGD

Default version status: affected

  • 4 to < 4.3.8-ELSaffected

EnterpriseDB BDR/PGD

Default version status: affected

  • 5 to < 5.8.0affected

References