CVE-2026-6476 json
PostgreSQL pg_createsubscriber allows SQL injection via subscription name
published 2026-05-14 5 mo ago modified 2026-09-08 2 mo ago also BIT-postgresql-2026-6476 , EUVD-2026-30285
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami postgresql 17.10.0, 18.4.0
- n/a PostgreSQL 17.10, 18.4
- postgresql-17 Debian 13 17.10-0+deb13u1
- postgresql-18 Debian 14 18.4-1
debian advisories DEBIAN-CVE-2026-6476
- postgresql-14 Ubuntu 22.04 LTS 14.23-0ubuntu0.22.04.1
- postgresql-16 Ubuntu 24.04 LTS 16.14-0ubuntu0.24.04.1
- postgresql-17 Ubuntu 25.10 17.10-0ubuntu0.25.10.1
- postgresql-18 Ubuntu 26.04 LTS 18.4-0ubuntu0.26.04.1
ubuntu advisories UBUNTU-CVE-2026-6476
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- pgaudit RHEL 9 18.0-1.module+el9.8.0+23739+1c42644c
- postgis RHEL 9 3.6.1-4.module+el9.8.0+24879+1364ef12
- pgvector RHEL 9 0.8.1-1.module+el9.8.0+23739+1c42644c
- pg_repack RHEL 9 1.5.3-1.module+el9.8.0+23739+1c42644c
- postgresql RHEL 9 18.6-1.module+el9.8.0+24816+5c11f535
- postgis-utils RHEL 9 3.6.1-4.module+el9.8.0+24879+1364ef12
- postgis-client RHEL 9 3.6.1-4.module+el9.8.0+24879+1364ef12
- postgis-upgrade RHEL 9 3.6.1-4.module+el9.8.0+24879+1364ef12
red hat advisories RHSA-2026:67848RHSA-2026:67280RHSA-2026:27742RHSA-2026:26204RHSA-2026:22878
- postgresql17 SLES for SAP applications 16.0, SLES 16.0 17.10-160000.1.1
- postgresql18 SLES for SAP applications 16.0, SLES 16.0 18.4-160000.1.1
suse advisories SUSE-SU-2026:22149-1SUSE-SU-2026:22077-1
- postgresql17 openSUSE Leap 16.0 17.10-160000.1.1
- postgresql18 openSUSE Tumbleweed 18.4-1.1
- postgresql17 openSUSE Tumbleweed 17.10-1.1
opensuse advisories openSUSE-SU-2026:20970-1openSUSE-SU-2026:10828-1openSUSE-SU-2026:10809-1
- pgaudit AlmaLinux 9 18.0-1.module_el9.8.0+234+5456f35d
- postgis AlmaLinux 9 3.6.1-4.module_el9.8.0+310+22372bcc
- pgvector AlmaLinux 9 0.8.1-1.module_el9.8.0+234+5456f35d
- pg_repack AlmaLinux 9 1.5.3-1.module_el9.8.0+234+5456f35d
- postgresql AlmaLinux 9 18.6-1.module_el9.8.0+310+22372bcc
- postgis-utils AlmaLinux 9 3.6.1-4.module_el9.8.0+310+22372bcc
- postgis-client AlmaLinux 9 3.6.1-4.module_el9.8.0+310+22372bcc
- postgis-upgrade AlmaLinux 9 3.6.1-4.module_el9.8.0+310+22372bcc
almalinux advisories ALSA-2026:67848ALSA-2026:67280ALSA-2026:27742ALSA-2026:26204
- pgaudit Rocky Linux 9 18.0-1.module+el9.8.0+40158+490b3c67
- pgaudit Rocky Linux 9 18.0-1.module+el9.8.0+40213+f1e225a4
- pgvector Rocky Linux 9 0.8.1-1.module+el9.8.0+40158+490b3c67
- pgvector Rocky Linux 9 0.8.1-1.module+el9.8.0+40213+f1e225a4
- pg_repack Rocky Linux 9 1.5.3-1.module+el9.8.0+40213+f1e225a4
- pg_repack Rocky Linux 9 1.5.3-1.module+el9.8.0+40158+490b3c67
- postgres-decoderbufs Rocky Linux 9 3.3.1-1.Final.module+el9.8.0+40213+f1e225a4
- postgres-decoderbufs Rocky Linux 9 3.3.1-1.Final.module+el9.8.0+40158+490b3c67
rocky linux advisories RLSA-2026:67848RLSA-2026:67280
- postgresql17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 17.10-r0
- postgresql18 Alpine 3.24, Alpine 3.23 18.4-r0
alpine advisories ALPINE-CVE-2026-6476
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-6476 updated cvss 7.2
postgresql: PostgreSQL: SQL injection in pg_createsubscriber allows arbitrary SQL execution as superuser
-
Red Hat Enterprise Linux AppStream (v. 9) pgaudit 18.0-1.module+el9.8.0+23739+1c42644c, postgis 3.6.1-2.module+el9.8.0+23739+1c42644c, postgis 3.6.1-4.module+el9.8.0+24879+1364ef12, pgvector 0.8.1-1.module+el9.8.0+23739+1c42644c, pg_repack 1.5.3-1.module+el9.8.0+23739+1c42644c, postgresql 18.4-2.module+el9.8.0+24359+da7fad50, +26 morefixed: vendor fix RHSA-2026:26204
-
Red Hat Enterprise Linux AppStream (v. 10) postgresql18 18.4-1.el10_2, postgresql18 18.6-1.el10_2, postgresql18-test 18.4-1.el10_2, postgresql18-test 18.6-1.el10_2, postgresql18-plperl 18.4-1.el10_2, postgresql18-plperl 18.6-1.el10_2, +10 more Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) postgresql18-test-rpm-macros 18.4-1.el10_2, postgresql18-test-rpm-macros 18.6-1.el10_2fixed: vendor fix RHSA-2026:27742
-
Red Hat Hardened Images postgresql 18.4-0.1.hum1, postgresql18 18.4-0.1.hum1, postgresql-test 18.4-0.1.hum1, postgresql-plperl 18.4-0.1.hum1, postgresql-server 18.4-0.1.hum1, postgresql-contrib 18.4-0.1.hum1, +4 morefixed: vendor fix RHSA-2026:22878
-
Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more Red Hat Enterprise Linux 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more Red Hat Enterprise Linux 8 pgaudit, pg_repack, postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, +7 more Red Hat Enterprise Linux 9 postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, postgresql-contrib, +4 more Red Hat Enterprise Linux 10 postgresql16 Red Hat Hardened Images postgresql17not affected: vulnerable code not present
+1 more productsfewer
Red Hat Self-service automation portal 2 ansible-automation-platform/bootc-automation-portal-rhel9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 5 mo ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | postgresql | >=17.0.0, <17.10.0 >=18.0.0, <18.4.0 |
17.10.0 18.4.0 |
Affected products
- n/a PostgreSQL
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
- Technology feeds
References
-
postgresql.org
/support/security/CVE-2026-6476/
patch, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-6476
web
Sources
- CVE List CVE-2026-6476
- NVD CVE-2026-6476
- OSV BIT-postgresql-2026-6476
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.