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 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | pglogical | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | pglogical | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | pglogical | Not affected vulnerable_code_not_present |
What the vendor says
As published in the CVE record by EDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- EnterpriseDB pglogical: affected: 3 to before 3.7.26-ELS; fixed in
3.7.26-ELS - EnterpriseDB BDR/PGD: affected: 4 to before 4.3.8-ELS; fixed in
4.3.8-ELS - EnterpriseDB BDR/PGD: affected: 5 to before 5.8.0; fixed in
5.8.0
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.