Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-6638 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://www.postgresql.org/support/security/CVE-2026-6638/ PostgreSQLPatchVendor Advisory

Weakness Enumeration

CWE-IDCWE NameSource
CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')PostgreSQL

Affected Products

ProductVersions
postgresql postgresql
>= 16.0, < 16.14
>= 17.0, < 17.10
>= 18.0, < 18.4

CPE

  • cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-6638
NVD Published Date:
May 14, 2026
NVD Last Modified:
Jun 17, 2026
Source:
PostgreSQL