CVE-2026-6476: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in PostgreSQL
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.
AI Analysis
Technical Summary
This vulnerability involves improper neutralization of special elements in SQL commands within the PostgreSQL pg_createsubscriber function. An attacker possessing pg_create_subscription privileges can exploit this flaw to execute arbitrary SQL code with superuser privileges. The issue affects PostgreSQL major versions 17 and 18, specifically versions before 17.10 and 18.4. The vulnerability is classified with a CVSS 3.1 score of 7.2, indicating high severity. No vendor advisory or patch information is currently available to confirm remediation status.
Potential Impact
Successful exploitation allows an attacker with pg_create_subscription rights to escalate privileges and execute arbitrary SQL commands as a superuser, potentially compromising the entire database system's confidentiality, integrity, and availability. This could lead to unauthorized data access, modification, or disruption of database operations.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict pg_create_subscription privileges to trusted users only and monitor for unusual activity related to subscription creation. Avoid running pg_createsubscriber in untrusted contexts.
CVE-2026-6476: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in PostgreSQL
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper neutralization of special elements in SQL commands within the PostgreSQL pg_createsubscriber function. An attacker possessing pg_create_subscription privileges can exploit this flaw to execute arbitrary SQL code with superuser privileges. The issue affects PostgreSQL major versions 17 and 18, specifically versions before 17.10 and 18.4. The vulnerability is classified with a CVSS 3.1 score of 7.2, indicating high severity. No vendor advisory or patch information is currently available to confirm remediation status.
Potential Impact
Successful exploitation allows an attacker with pg_create_subscription rights to escalate privileges and execute arbitrary SQL commands as a superuser, potentially compromising the entire database system's confidentiality, integrity, and availability. This could lead to unauthorized data access, modification, or disruption of database operations.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict pg_create_subscription privileges to trusted users only and monitor for unusual activity related to subscription creation. Avoid running pg_createsubscriber in untrusted contexts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-04-17T00:43:55.119Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a05cfe8ec166c07b0e13944
Added to database: 5/14/2026, 1:36:40 PM
Last enriched: 5/14/2026, 1:52:05 PM
Last updated: 5/15/2026, 6:26:51 AM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.