CVE-2026-6638

Low

Description

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.

SeverityLow
CVSS3.7
Exploit probability—
ProductPostgresql
PublishedMay 14, 2026
First seenMay 14, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • postgresql postgresql16.14, 17.10, 18.4 or later

Affected products

ProductAffected versionsFixed in
postgresql postgresql16.0 ≤ v < 16.14, 17.0 ≤ v < 17.10, 18.0 ≤ v < 18.416.14, 17.10, 18.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.