Skip to content
OpenAdvisories
High · 7.2 CVE-2026-6476 EUVD-2026-30285GHSA-9crw-q654-rwgr

PostgreSQL pg_createsubscriber allows SQL injection via subscription name

Published May 14, 2026 · Updated May 15, 2026 · Assigned by PostgreSQL

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 products

VendorProductAffectedFixed
— PostgreSQL 18 – < 18.4, 17 – < 17.10 18.4

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.

ReleasePackageFixed inAdvisory
Debian 14 postgresql-18 18.4-1 —
Debian 13 postgresql-17 17.10-0+deb13u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS postgresql-18 18.4-0ubuntu0.26.04.1 —
Ubuntu 25.10 postgresql-17 17.10-0ubuntu0.25.10.1 —
Ubuntu 24.04 LTS postgresql-16 16.14-0ubuntu0.24.04.1 —
Ubuntu 22.04 LTS postgresql-14 14.23-0ubuntu0.22.04.1 —
Ubuntu 20.04 LTS postgresql-12 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS postgresql-10 No fix yet —
Ubuntu Pro 16.04 LTS postgresql-9.5 No fix yet —
Ubuntu Pro 14.04 LTS postgresql-9.3 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 postgresql18 +13 18.4-1.el10_2 RHSA-2026:67280, RHSA-2026:27742
RHEL 9 pg_repack 1.5.3-1.module+el9.8.0+23739+1c42644c RHSA-2026:67848, RHSA-2026:26204
RHEL 9 pgaudit 18.0-1.module+el9.8.0+23739+1c42644c RHSA-2026:67848, RHSA-2026:26204
RHEL 9 pgvector 0.8.1-1.module+el9.8.0+23739+1c42644c RHSA-2026:67848, RHSA-2026:26204
RHEL 9 postgis +4 3.6.1-2.module+el9.8.0+23739+1c42644c RHSA-2026:67848, RHSA-2026:26204
RHEL 9 postgres-decoderbufs 3.3.1-1.Final.module+el9.8.0+23739+1c42644c RHSA-2026:67848, RHSA-2026:26204
RHEL 9 postgresql +14 18.4-2.module+el9.8.0+24359+da7fad50 RHSA-2026:67848, RHSA-2026:26204
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 postgresql +14 18.4-0.1.hum1 RHSA-2026:22878

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 postgresql18 +13 18.4-1.el10_2 ALSA-2026:67280, ALSA-2026:27742
AlmaLinux 9 pg_repack 1.5.3-1.module_el9.8.0+234+5456f35d ALSA-2026:67848, ALSA-2026:26204
AlmaLinux 9 pgaudit 18.0-1.module_el9.8.0+234+5456f35d ALSA-2026:67848, ALSA-2026:26204
AlmaLinux 9 pgvector 0.8.1-1.module_el9.8.0+234+5456f35d ALSA-2026:67848, ALSA-2026:26204
AlmaLinux 9 postgis +4 3.6.1-2.module_el9.8.0+239+6fb51d38 ALSA-2026:67848, ALSA-2026:26204
AlmaLinux 9 postgres-decoderbufs 3.3.1-1.Final.module_el9.8.0+234+5456f35d ALSA-2026:67848, ALSA-2026:26204
AlmaLinux 9 postgresql +14 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:67848, ALSA-2026:26204

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 postgresql18 18.6-1.el10_2 RLSA-2026:67280
Rocky Linux 9 pg_repack 1.5.3-1.module+el9.8.0+40158+490b3c67 RLSA-2026:67848
Rocky Linux 9 pgaudit 18.0-1.module+el9.8.0+40158+490b3c67 RLSA-2026:67848
Rocky Linux 9 pgvector 0.8.1-1.module+el9.8.0+40158+490b3c67 RLSA-2026:67848
Rocky Linux 9 postgres-decoderbufs 3.3.1-1.Final.module+el9.8.0+40158+490b3c67 RLSA-2026:67848
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 postgresql17 17.10-160000.1.1 SUSE-SU-2026:22149-1
SLES for SAP 16.0 postgresql18 18.4-160000.1.1 SUSE-SU-2026:22077-1
SLES 16.0 postgresql17 17.10-160000.1.1 SUSE-SU-2026:22149-1
SLES 16.0 postgresql18 18.4-160000.1.1 SUSE-SU-2026:22077-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed postgresql17 17.10-1.1 openSUSE-SU-2026:10809-1
openSUSE Tumbleweed postgresql18 18.4-1.1 openSUSE-SU-2026:10828-1
openSUSE Leap 16.0 postgresql17 17.10-160000.1.1 openSUSE-SU-2026:20970-1
ReleasePackageFixed inAdvisory
Alpine v3.24 postgresql17 17.10-r0 —
Alpine v3.24 postgresql18 18.4-r0 —
Alpine v3.23 postgresql17 17.10-r0 —
Alpine v3.23 postgresql18 18.4-r0 —
Alpine v3.22 postgresql17 17.10-r0 —
Alpine v3.21 postgresql17 17.10-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 postgresql17 +15 17.10-1.amzn2023.0.1 ALAS2023-2026-1766
Amazon Linux 2023 postgresql18 +15 18.4-1.amzn2023.0.1 ALAS2023-2026-1780

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 postgresql18 +13 18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 9 pg_repack 1.5.3-1.module+el9.8.0+90922+3defa420 ELSA-2026-67848
Oracle Linux 9 pgaudit 18.0-1.module+el9.8.0+90922+3defa420 ELSA-2026-67848
Oracle Linux 9 pgvector 0.8.1-1.module+el9.8.0+90922+3defa420 ELSA-2026-67848
Oracle Linux 9 postgis +4 3.6.1-4.module+el9.8.0+91037+efa47639 ELSA-2026-67848
Oracle Linux 9 postgres-decoderbufs 3.3.1-1.Final.module+el9.8.0+90922+3defa420 ELSA-2026-67848
Oracle Linux 9 postgresql +14 18.6-1.module+el9.8.0+91037+efa47639 ELSA-2026-67848

Advisories 21

References