SQL injection in EnterpriseDB pglogical
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
The pglogical queue mechanism, used to convey out-of-band commands such as replicated DDL from a publisher to a subscriber, executes message payloads on the subscriber at the privilege level of the apply worker, which is equivalent to a PostgreSQL superuser in default installations. A party acting as the publisher can send crafted queue messages that cause arbitrary SQL to be executed on the subscriber as superuser, escalating from a role permitted to use pglogical to full superuser and breaking the isolation between tenants in shared deployments. To exploit the issue an attacker must be able to direct a subscription at an endpoint they control. In default installations this requires privileges normally reserved for a superuser, so the issue is most relevant to managed deployments where the ability to create subscriptions has been delegated to non-superuser roles.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
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 | 2 to before 2.4.8 | 2.4.8 | Patch available | CNA |
- pglogical VendorEnterpriseDB Affected 2 to before 2.4.8 Fixed in 2.4.8 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:enterprisedb:pglogical:*:*:*:*:*:postgresql:*:* | 2.0.0 to before 2.4.8 | Vulnerable | EnterpriseDB |
- cpe:2.3:a:enterprisedb:pglogical:*:*:*:*:*:postgresql:*:* Versions 2.0.0 to before 2.4.8 Vulnerable ·EnterpriseDB
Remediation
- Fix · CNA pglogical (EnterpriseDB) Fixed in 2.4.8
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
EnterpriseDB pglogical 2.4.8
4 records Highest priority Priority MEDIUM 2 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-37400 When applying replicated changes for a row that is missing one or more columns, pglogical…Priority MEDIUM 41
- TI-2026-37401 Use after free in EnterpriseDB pglogicalPriority LOW 36
- TI-2026-37398 Out-of-bounds read in EnterpriseDB pglogicalPriority LOW 27
Timeline
- 2026-10-02 Threatist record created from CVE-2026-50736
- 2026-10-03 Alias added: GHSA-cg29-63x4-27px
References
More EnterpriseDB Pglogical vulnerabilities
- 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-37401 Use after free in EnterpriseDB pglogical CVSS 4.0HIGH 7.7
- TI-2026-37398 Out-of-bounds read in EnterpriseDB pglogical CVSS 4.0MEDIUM 6.1
Sources
- CVE-2026-50736 · CVE Program
- CVE-2026-50736 · NVD
- FIRST EPSS
- GHSA-cg29-63x4-27px · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences