CVE-2026-6476Published May 14, 2026 · May 14Updated Nov 11
PostgreSQL pg_createsubscriber allows SQL injection via subscription name
PostgreSQL
High7.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| PostgreSQL |
| No fix yet |
Original description
SQL injection in PostgreSQL pg_createsubscriber allows an attacker with pg_create_subscription rights to execute arbitrary SQL as a superuser. The attack takes effect when pg_createsubscriber next runs. Within major versions 17 and 18, minor versions before PostgreSQL 18.4 and 17.10 are affected. Versions before PostgreSQL 17 are unaffected.
From the CVE record · PostgreSQL