Missing authorization in EnterpriseDB pglogical
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-862.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| EnterpriseDB | pglogical | 3 to before 3.7.26-ELS | 3.7.26-ELS | Patch available | CNA |
| EnterpriseDB | BDR/PGD | 4 to before 4.3.8-ELS | 4.3.8-ELS | Patch available | CNA |
| EnterpriseDB | BDR/PGD | 5 to before 5.8.0 | 5.8.0 | Patch available | CNA |
- pglogical VendorEnterpriseDB Affected 3 to before 3.7.26-ELS Fixed in 3.7.26-ELS Patch available CNA
- BDR/PGD VendorEnterpriseDB Affected 4 to before 4.3.8-ELS Fixed in 4.3.8-ELS Patch available CNA
- BDR/PGD VendorEnterpriseDB Affected 5 to before 5.8.0 Fixed in 5.8.0 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:enterprisedb:pglogical:*:*:*:*:*:*:*:* | — | — | EnterpriseDB |
- cpe:2.3:a:enterprisedb:pglogical:*:*:*:*:*:*:*:* Versions — — ·EnterpriseDB
Remediation
- Fix · CNA pglogical (EnterpriseDB) Fixed in 3.7.26-ELS
- Fix · CNA BDR/PGD (EnterpriseDB) Fixed in 4.3.8-ELS
- Fix · CNA BDR/PGD (EnterpriseDB) Fixed in 5.8.0
Timeline
- 2026-10-02 Threatist record created from CVE-2025-2506
References
More EnterpriseDB vulnerabilities
- TI-2023-21738 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1CRITICAL 9.8
- TI-2026-37400 When applying replicated changes for a row that is missing one or more columns, pglogical… CVSS 4.0CRITICAL 9.0
- TI-2026-37399 SQL injection in EnterpriseDB pglogical CVSS 4.0CRITICAL 9.0
- TI-2023-21739 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1HIGH 8.8
- TI-2026-63799 WarehousePG pg_file_write/pg_file_rename/pg_file_unlink/pg_logdir_ls privilege escalation CVSS 4.0HIGH 8.7
- TI-2023-21740 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences