CVE-2021-3515: 2ndquadrant Pglogical
Medium severity, CVSS 6.7. EPSS: 0.5% chance of exploitation in the next 30 days.
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().
Affected products
- 2ndquadrant Pglogical: before 2.3.4 (fixed in 2.3.4); from 3.0.0, before 3.6.26 (fixed in 3.6.26)
Published 2021-06-01. Last modified 2026-06-17.