CVE-2026-6476 impacts PostgreSQL major versions 17 and 18 (prior to 18.4 and 17.10). When an administrator runs the pg_createsubscriber utility to convert a physical standby server into a logical replica, the tool queries existing subscription objects and constructs administrative SQL commands using unsanitized string formatting. A non-superuser who holds the pg_create_subscription role can create a subscription whose name embeds SQL escape sequences, hijacking the superuser execution context when pg_createsubscriber is subsequently invoked.