Skip to main content
← All vulnerabilities
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 t

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.7.26-ELS, 4.3.8-ELS, 5.8.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • EnterpriseDB pglogical

    From 3 · fixed in 3.7.26-ELS

  • EnterpriseDB BDR/PGD

    From 4 · fixed in 4.3.8-ELS

  • EnterpriseDB BDR/PGD

    From 5 · fixed in 5.8.0

References 1

enterprisedb.com