All vulnerabilities

Servers and applications

CVE-2026-6638

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…

Severity
High 8.8
Published
14 May 2026
Last changed
17 Jun 2026
Added to UpHeron
16 Oct 2026
Fixed in
16.14, 17.10, 18.4
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • From 16.0 before 16.14
  • From 17.0 before 17.10
  • From 18.0 before 18.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-6638
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-6638