Vulnerability · Published May 14, 2026 · Assigned by PostgreSQL
CVE-2026-6476PostgreSQL pg_createsubscriber allows SQL injection via subscription name
High 7.2
In plain English
A high-severity SQL injection in PostgreSQL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | pg_repack | 1.5.3-1.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux:9 | pg_repack | 1.5.3-1.module_el9.8.0+234+5456f35d | ALSA-2026:67848 |
| AlmaLinux:9 | pgaudit | 18.0-1.module_el9.8.0+234+5456f35d | ALSA-2026:67848 |
| AlmaLinux:9 | pgaudit | 18.0-1.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux:9 | pgvector | 0.8.1-1.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux:9 | pgvector | 0.8.1-1.module_el9.8.0+234+5456f35d | ALSA-2026:67848 |
| AlmaLinux:9 | postgis | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux:9 | postgis | 3.6.1-4.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgis-client | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux:9 | postgis-client | 3.6.1-4.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgis-docs | 3.6.1-4.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgis-docs | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux:9 | postgis-upgrade | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux:9 | postgis-upgrade | 3.6.1-4.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgis-utils | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux:9 | postgis-utils | 3.6.1-4.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgres-decoderbufs | 3.3.1-1.Final.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux:9 | postgres-decoderbufs | 3.3.1-1.Final.module_el9.8.0+234+5456f35d | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-contrib | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-contrib | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-docs | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-docs | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-plperl | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-plperl | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-plpython3 | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-plpython3 | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-pltcl | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-pltcl | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-private-devel | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-private-devel | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-private-libs | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-private-libs | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-server | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-server | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-server-devel | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-server-devel | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-static | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-static | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-test | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-test | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-test-rpm-macros | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-test-rpm-macros | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-upgrade | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:9 | postgresql-upgrade | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-upgrade-devel | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux:9 | postgresql-upgrade-devel | 18.6-1.module_el9.8.0+310+22372bcc | ALSA-2026:67848 |
| AlmaLinux:10 | postgresql18 | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18 | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-contrib | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-contrib | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-docs | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-docs | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-plperl | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-plperl | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-plpython3 | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-plpython3 | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-private-devel | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-private-devel | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-private-libs | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-private-libs | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-server | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-server | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-server-devel | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-server-devel | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-static | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-static | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-test | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-test | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-test-rpm-macros | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-test-rpm-macros | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-upgrade | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-upgrade | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux:10 | postgresql18-upgrade-devel | 18.6-1.el10_2 | ALSA-2026:67280 |
| AlmaLinux:10 | postgresql18-upgrade-devel | 18.4-1.el10_2 | ALSA-2026:27742 |
| Alpine:v3.21 | postgresql17 | 17.10-r0 | ALPINE-CVE-2026-6476 |
| Alpine:v3.22 | postgresql17 | 17.10-r0 | ALPINE-CVE-2026-6476 |
| Alpine:v3.23 | postgresql17 | 17.10-r0 | ALPINE-CVE-2026-6476 |
| Alpine:v3.24 | postgresql17 | 17.10-r0 | ALPINE-CVE-2026-6476 |
| Alpine:v3.23 | postgresql18 | 18.4-r0 | ALPINE-CVE-2026-6476 |
| Alpine:v3.24 | postgresql18 | 18.4-r0 | ALPINE-CVE-2026-6476 |
| Debian:13 | postgresql-17 | 17.10-0+deb13u1 | DEBIAN-CVE-2026-6476 |
| Debian:14 | postgresql-18 | 18.4-1 | DEBIAN-CVE-2026-6476 |
| Rocky Linux:9 | pg_repack | 0:1.5.3-1.module+el9.8.0+40213+f1e225a4 | RLSA-2026:67848 |
| Rocky Linux:9 | pg_repack | 0:1.5.3-1.module+el9.8.0+40158+490b3c67 | RLSA-2026:67848 |
| Rocky Linux:9 | pgaudit | 0:18.0-1.module+el9.8.0+40213+f1e225a4 | RLSA-2026:67848 |
| Rocky Linux:9 | pgaudit | 0:18.0-1.module+el9.8.0+40158+490b3c67 | RLSA-2026:67848 |
| Rocky Linux:9 | pgvector | 0:0.8.1-1.module+el9.8.0+40213+f1e225a4 | RLSA-2026:67848 |
| Rocky Linux:9 | pgvector | 0:0.8.1-1.module+el9.8.0+40158+490b3c67 | RLSA-2026:67848 |
| Rocky Linux:9 | postgres-decoderbufs | 0:3.3.1-1.Final.module+el9.8.0+40158+490b3c67 | RLSA-2026:67848 |
| Rocky Linux:9 | postgres-decoderbufs | 0:3.3.1-1.Final.module+el9.8.0+40213+f1e225a4 | RLSA-2026:67848 |
| Rocky Linux:10 | postgresql18 | 0:18.6-1.el10_2 | RLSA-2026:67280 |
| Ubuntu:22.04:LTS | postgresql-14 | 14.23-0ubuntu0.22.04.1 | UBUNTU-CVE-2026-6476 |
| Ubuntu:24.04:LTS | postgresql-16 | 16.14-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-6476 |
| Ubuntu:25.10 | postgresql-17 | 17.10-0ubuntu0.25.10.1 | UBUNTU-CVE-2026-6476 |
| Ubuntu:26.04:LTS | postgresql-18 | 18.4-0ubuntu0.26.04.1 | UBUNTU-CVE-2026-6476 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | PostgreSQL | 18 – before 18.417 – before 17.10 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H