Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | >= 16.0, < 16.14 |
Related Weaknesses (CWE)
References
- https://www.postgresql.org/support/security/CVE-2026-6638/PatchVendor Advisory
FAQ
What is CVE-2026-6638?
CVE-2026-6638 is a vulnerability with a CVSS score of 3.7 (LOW). 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 credentia...
How severe is CVE-2026-6638?
CVE-2026-6638 has been rated LOW with a CVSS base score of 3.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6638?
Check the references section above for vendor advisories and patch information. Affected products include: Postgresql Postgresql.