Vulnerability · Published May 22, 2025 · Assigned by EDB
CVE-2025-2506
Medium 5.3
In plain English
A medium-severity missing authorization in BDR/PGD from EnterpriseDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| EnterpriseDB | pglogical | 3 – before 3.7.26-ELS |
| EnterpriseDB | BDR/PGD | 4 – before 4.3.8-ELS |
| EnterpriseDB | BDR/PGD | 5 – before 5.8.0 |
Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N