CVE-2026-6476: PostgreSQL pg_createsubscriber allows SQL injection via subscription name

Published May 14, 2026
·
Updated

Last updated 22 May 2026

Other sources

SQL injection in PostgreSQL pgcreatesubscriber allows an attacker with pgcreatesubscription rights to execute arbitrary SQL as a superuser. The attack takes effect when pgcreatesubscriber 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.

MITRE

Affected Software

5 affected componentsFixes available
PostgreSQL postgresql>=17.0<17.10, >=18.0<18.4
PostgreSQL postgresql>=17.0<17.10
PostgreSQL postgresql>=18.0<18.4
debian/postgresql-17<=17.9-0+deb13u1
17.10-0+deb13u1
debian/postgresql-18
18.4-1

Event History

May 14, 2026
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 21, 2026
Data Sourced
via Launchpad·10:49 PM
Description
May 22, 2026
Data Sourced
via Ubuntu·10:49 PM
RemedyDescriptionSeverityAffected Software
May 25, 2026
Data Sourced
via Debian·10:55 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6476?

CVE-2026-6476 is considered a critical vulnerability due to the potential for SQL injection that allows arbitrary SQL execution as a superuser.

2

How do I fix CVE-2026-6476?

To fix CVE-2026-6476, update your PostgreSQL installation to a version beyond 17.10 or 18.4 as soon as possible.

3

What versions of PostgreSQL are affected by CVE-2026-6476?

CVE-2026-6476 affects PostgreSQL versions from 17.0 up to 17.10 and from 18.0 up to 18.4.

4

Who can exploit CVE-2026-6476?

An attacker with pg_create_subscription rights can exploit CVE-2026-6476 to execute arbitrary SQL.

5

What are the consequences of CVE-2026-6476 exploitation?

Exploitation of CVE-2026-6476 can lead to unauthorized superuser access and potential compromise of the PostgreSQL database system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203