CVE-2026-6638
LOWPostgreSQL REFRESH PUBLICATION allows SQL injection via table name
Title source: cnaDescription
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.
References (1)
Core 1
Core References
Scores
CVSS v3
3.7
EPSS
0.0002
EPSS Percentile
7.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-89
Status
published
Products (4)
None/PostgreSQL
16 - 16.14
None/PostgreSQL
17 - 17.10
None/PostgreSQL
18 - 18.4
postgresql/postgresql
16.0 - 16.14
Published
May 14, 2026
Tracked Since
May 14, 2026