SQL injection in PostgreSQL - CVE-2026-6638
Published: May 14, 2026
PostgreSQL
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary SQL with the subscription's publication-side credentials.
The vulnerability exists due to SQL injection in ALTER SUBSCRIPTION ... REFRESH PUBLICATION when processing a table name. A remote user can create a crafted subscriber table name to execute arbitrary SQL with the subscription's publication-side credentials.
User interaction is required for the next REFRESH PUBLICATION to occur.