CVE-2025-2506
published medium CVSS 3.1 · 5.3pglogical vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| EnterpriseDB | — | pglogical3 to < 3.7.26-ELS · Other versions: affected | Affected | Not stated | EDB |
| EnterpriseDB | — | BDR/PGD4 to < 4.3.8-ELS · Other versions: affected | Affected | Not stated | EDB |
| EnterpriseDB | — | BDR/PGD5 to < 5.8.0 · Other versions: affected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- EDB · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| EnterpriseDB | pglogical | 3 to < 3.7.26-ELS (affected · custom)Default: affected | EDB · cna |
| EnterpriseDB | BDR/PGD | 4 to < 4.3.8-ELS (affected · custom)Default: affected | EDB · cna |
| EnterpriseDB | BDR/PGD | 5 to < 5.8.0 (affected · custom)Default: affected | EDB · cna |
Weaknesses
1- CWE-862 CWE-862 Missing Authorization
References
1Provider assertions
2EDB · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 113a4a8d74e31753410916f9575b1ea8e9251ae41c4b8bb8dac393612b4916c1
- Ingested
- 23 Sep 2026, 08:43:47 UTC
- Source record
- Official CVE record