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
| Link | Resource |
|---|---|
| https://www.postgresql.org/support/security/CVE-2026-6638/ | Patch Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
18 May 2026, 14:14
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | |
| First Time |
Postgresql
Postgresql postgresql |
|
| References | () https://www.postgresql.org/support/security/CVE-2026-6638/ - Patch, Vendor Advisory |
14 May 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-14 14:16
Updated : 2026-05-18 14:14
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')
