cbcvebase.
CVE-2026-6638
published 2026-05-14

CVE-2026-6638: SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the…

PriorityP260high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
0.18%
7.8th percentile
SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the subscription's publication-side credentials. The attack takes effect at the next REFRESH PUBLICATION. Within major versions 16, 17, and 18, minor versions before PostgreSQL 18.4, 17.10, and 16.14 are affected. Versions before PostgreSQL 16 are unaffected.

Affected

10 ranges
VendorProductVersion rangeFixed in
postgresqlpostgresql>= 16 < 16.1416.14
postgresqlpostgresql>= 16.0 < 16.1416.14
postgresqlpostgresql>= 17 < 17.1017.10
postgresqlpostgresql>= 17.0 < 17.1017.10
postgresqlpostgresql>= 18 < 18.418.4
postgresqlpostgresql>= 18.0 < 18.418.4
ubuntupostgresql-14
ubuntupostgresql-16
ubuntupostgresql-17
ubuntupostgresql-18

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vendor_ubuntu5.4MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.