Command injection in pglogical
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-77.
Summary
A shell injection flaw was found in pglogical in versions before 2.3.4 and before 3.6.26. An attacker with CREATEDB privileges on a PostgreSQL server can craft a database name that allows execution of shell commands as the postgresql user when calling pglogical.create_subscription().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | pglogical | pglogical 2.3.4, pglogical 3.6.26 | — | No fix listed | CNA |
- pglogical Vendor— Affected pglogical 2.3.4, pglogical 3.6.26 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:2ndquadrant:pglogical:*:*:*:*:*:*:*:* | before 2.3.4; 3.0.0 to before 3.6.26 | Vulnerable | 2ndquadrant |
- cpe:2.3:a:2ndquadrant:pglogical:*:*:*:*:*:*:*:* Versions before 2.3.4; 3.0.0 to before 3.6.26 Vulnerable ·2ndquadrant
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- CloudForms Management Engine 5
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3515
- 2026-10-03 Alias added: GHSA-pg8h-w6r7-prw8
References
Sources
- CVE-2021-3515 · CVE Program
- CVE-2021-3515 · NVD
- FIRST EPSS
- GHSA-pg8h-w6r7-prw8 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3515 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences