CVE-2025-2506 Details
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.
A vulnerability exists in EnterpriseDB's pglogical replication system, specifically in version 3.x prior to 3.7.26-ELS, and in BDR/PGD versions 4.x prior to 4.3.8-ELS and 5.x prior to 5.8.0. The issue arises because pglogical does not verify that it is using a replication connection when attempting to replicate data. As a result, a user with CONNECT access to a database configured for replication can execute pglogical commands to gain read access to replicated tables. Exploitation requires knowledge of specific pglogical 3/BDR commands and the ability to decode the binary protocol.
Users must upgrade to a fixed version of pglogical or BDR/PGD. The latest supported versions include pglogical 3.7.26-ELS, BDR/PGD 4.3.8-ELS, and BDR/PGD 5.8.0.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 22, 2025CISA-ADP
Assessed May 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.enterprisedb.com/docs/security/advisories/cve20252506/ | EnterpriseDB Corporation | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | EnterpriseDB Corporation |
Affected Products
| Product | Versions |
|---|---|
| EDB pglogical | < 3.7.26-ELS (semver) |
CPE
Remediation
| |
| EDB BDR | All versions |
CPE
Remediation
| |
| EDB PGD | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | EnterpriseDB Corporation |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 26, 2025 | CVE Modified | CISA-ADP |
| May 22, 2025 | CVE Modified | CISA-ADP |
| May 22, 2025 | New CVE Received | EnterpriseDB Corporation |
Volerion