# 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…

- Severity: Medium 5.3 (CVSS:3.1, scored by EDB) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2025-05-22T15:22:20.041Z
- Modified: 2026-06-17T09:07:04.890Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EDB

## 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.

(As written by CVE List.)

## Affected

- EnterpriseDB pglogical: from 3 before 3.7.26-ELS
- EnterpriseDB BDR/PGD: from 4 before 4.3.8-ELS; from 5 before 5.8.0

## References

- <https://www.enterprisedb.com/docs/security/advisories/cve20252506/>

## Sources

- CVE List: [CVE-2025-2506](https://www.cve.org/CVERecord?id=CVE-2025-2506), CVE Terms of Use, modified 2025-08-26
- NVD: [CVE-2025-2506](https://nvd.nist.gov/vuln/detail/CVE-2025-2506), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-2506 · Whole record: https://cve.day/CVE-2025-2506.json · Rebuilt by cve.day 2026-11-25T22:58:58.395Z
