CVE-2026-6476

PostgreSQL pg_createsubscriber allows SQL injection via subscription name

HIGH
7.2
CVSS Score
Published: May 14, 2026 at 01:00 PM UTC
Updated: June 17, 2026 at 11:00 AM UTC
1 product affected across 1 vendorPostgreSQL

Using PostgreSQL by N/A?

Get instant alerts when new vulnerabilities affect PostgreSQL - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.2
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

17 ≤ v < 17.1017.0 ≤ v < 17.1018 ≤ v < 18.418.0 ≤ v < 18.41718
Affected range stops below 17.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.2HIGHPostgreSQL
Vector?

Quick Info

StatusANALYZED
CWE
CWE-89

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card