CVE-2021-3515
publishedpglogical: Shell injection by pglogical users with CREATEDB access
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | pglogicalpglogical 2.3.4, pglogical 3.6.26 | Affected | Not stated | redhat |
Description
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().
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.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | pglogical | pglogical 2.3.4, pglogical 3.6.26 (affected) | redhat · cna |
Weaknesses
1- CWE-77
References
1Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d76bfb461390fb6d4470395b4a4cf989b30cb7e111e5494d304d394c1276219f
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record