2084AI Security Observatory

CVE

CVE-2026-6638

CVE-2026-6638HIGH 8.8EPSS 8%

CNA 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.

Affected versions

All PostgreSQL vulnerabilities →

  • ≥ 18.0, < 18.4Fixed in 18.4
  • ≥ 17.0, < 17.10Fixed in 17.10
  • ≥ 16.0, < 16.14Fixed in 16.14

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.