CVE-2021-3515: A shell injection flaw was found in pglogical in versions before 2.3.4 and before 3.6.26
CVE-2021-3515 is a medium-severity flaw (CVSS 6.7) affecting pglogical. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-3515?
pglogical: upgrade to 2.3.4, 3.6.26. Exact commands for each OS are on this page.
Is CVE-2021-3515 being exploited?
CVE-2021-3515 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-3515 affect?
CVE-2021-3515 affects pglogical. Severity is medium (CVSS 6.7). 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 w
How urgent is CVE-2021-3515?
Priority 33/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-50736 HIGH 7.5 UPGRADE The pglogical queue mechanism, used to convey out-of-band commands such as replicated DDL from a publisher to
- CVE-2026-50737 HIGH 7.5 UPGRADE When applying replicated changes for a row that is missing one or more columns, pglogical evaluates the affect
- CVE-2026-50735 MEDIUM 6.8 UPGRADE pglogical's apply worker does not sufficiently validate the length of certain fields in incoming replication p
- CVE-2026-50738 MEDIUM 5.3 UPGRADE A use-after-free condition exists in pglogical's worker signaling code, where a worker structure can be derefe