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().
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | pglogical | pglogical 2.3.4, pglogical 3.6.26 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pglogical | 2.3.3-3 | — |
| Debian 13 | pglogical | 2.3.3-3 | — |
| Debian 12 | pglogical | 2.3.3-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | pglogical | No fix yet | — |
| Ubuntu 26.04 LTS | pglogical | No fix yet | — |
| Ubuntu 25.10 | pglogical | No fix yet | — |
| Ubuntu 24.04 LTS | pglogical | No fix yet | — |
| Ubuntu 22.04 LTS | pglogical | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | pglogical | No fix yet | — |
| Ubuntu 18.04 LTS | pglogical | No fix yet | — |