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 are unaffected.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Inyección SQL en la replicación lógica de PostgreSQL ALTER SUBSCRIPTION ... REFRESH PUBLICATION permite a un creador de tablas suscriptoras ejecutar SQL arbitrario con las credenciales del lado de la publicación de la suscripción. El ataque surte efecto en la siguiente REFRESH PUBLICATION. Dentro de las versiones principales 16, 17 y 18, las versiones menores anteriores a PostgreSQL 18.4, 17.10 y 16.14 están afectadas. Las versiones anteriores a PostgreSQL 16 no están afectadas.

18 May 2026, 14:14

Type Values Removed Values Added
References () https://www.postgresql.org/support/security/CVE-2026-6638/ - () https://www.postgresql.org/support/security/CVE-2026-6638/ - Patch, Vendor Advisory
CPE cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
First Time Postgresql
Postgresql postgresql

14 May 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-14 14:16

Updated : 2026-11-11 20:10


NVD link : CVE-2026-6638

Mitre link : CVE-2026-6638

CVE.ORG link : CVE-2026-6638


JSON object : View

Products Affected

postgresql

  • postgresql
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')