SQL Injection Vulnerability in PostgreSQL pg_createsubscriber
CVE-2026-6476

7.2HIGH

Key Information:

Vendor

PostgreSQL

Vendor
CVE Published:
14 May 2026

What is CVE-2026-6476?

A SQL injection vulnerability exists in the pg_createsubscriber function of PostgreSQL, allowing an attacker holding pg_create_subscription privileges to execute arbitrary SQL commands with superuser rights. This vulnerability is triggered when the pg_createsubscriber function is invoked, potentially compromising the security and integrity of the database. Affected versions include PostgreSQL 17 (up to 17.9) and 18 (up to 18.3), while earlier versions are not impacted.

Affected Version(s)

PostgreSQL 18 < 18.4

PostgreSQL 17 < 17.10

References

CVSS V3.1

Score:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

The PostgreSQL project thanks Yu Kunpeng for reporting this problem.
.