CVE-2026-6476

HIGH CVSS 3.1: 7.2 EPSS 0.29%
Updated Jun 17, 2026
PostgreSQL
Parameter Value
CVSS 7.2 (HIGH)
Affected Versions 17.0 — 18.4
Fixed In 17.10
Type CWE-89 (SQL Injection)
Vendor PostgreSQL
Public PoC No

SQL injection in PostgreSQL pg_createsubscriber allows an attacker with pg_create_subscription rights to execute arbitrary SQL as a superuser. The attack takes effect when pg_createsubscriber next runs. Within major versions 17 and 18, minor versions before PostgreSQL 18.4 and 17.10 are affected.

Versions before PostgreSQL 17 are unaffected.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Postgresql Postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
17.0 17.10
Postgresql Postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
18.0 18.4