CVE-2026-6476: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in PostgreSQL
CVE-2026-6476 is a high-severity SQL injection vulnerability in PostgreSQL affecting versions 17 and 18 prior to 17.10 and 18.4, respectively. It allows an attacker with pg_create_subscription rights to execute arbitrary SQL commands with superuser privileges when the pg_createsubscriber function runs. Versions before PostgreSQL 17 are not affected. There is no confirmed patch or official remediation information available at this time.
AI Analysis
Technical Summary
This vulnerability involves improper neutralization of special elements in SQL commands within the PostgreSQL pg_createsubscriber function. An attacker who has pg_create_subscription rights can exploit this flaw to execute arbitrary SQL commands as a superuser, potentially leading to full system compromise. The issue affects PostgreSQL major versions 17 and 18, specifically minor versions before 17.10 and 18.4. No information about an available patch or vendor advisory has been provided.
Potential Impact
Successful exploitation allows an attacker with pg_create_subscription rights to execute arbitrary SQL commands with superuser privileges, which can lead to complete compromise of the database system, including unauthorized data access, modification, or destruction. The vulnerability has a CVSS v3.1 score of 7.2, indicating high severity with network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict pg_create_subscription rights to trusted users only and monitor for unusual activity related to subscription creation. Avoid running pg_createsubscriber in environments where untrusted users have subscription creation privileges.
CVE-2026-6476: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in PostgreSQL
Description
CVE-2026-6476 is a high-severity SQL injection vulnerability in PostgreSQL affecting versions 17 and 18 prior to 17.10 and 18.4, respectively. It allows an attacker with pg_create_subscription rights to execute arbitrary SQL commands with superuser privileges when the pg_createsubscriber function runs. Versions before PostgreSQL 17 are not affected. There is no confirmed patch or official remediation information available at this time.
CVSS v3.1
Score 7.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
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 who has pg_create_subscription rights can exploit this flaw to execute arbitrary SQL commands as a superuser, potentially leading to full system compromise. The issue affects PostgreSQL major versions 17 and 18, specifically minor versions before 17.10 and 18.4. No information about an available patch or vendor advisory has been provided.
Potential Impact
Successful exploitation allows an attacker with pg_create_subscription rights to execute arbitrary SQL commands with superuser privileges, which can lead to complete compromise of the database system, including unauthorized data access, modification, or destruction. The vulnerability has a CVSS v3.1 score of 7.2, indicating high severity with network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict pg_create_subscription rights to trusted users only and monitor for unusual activity related to subscription creation. Avoid running pg_createsubscriber in environments where untrusted users have subscription creation privileges.
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: 05/14/2026, 13:36:40 UTC
Last enriched: 05/21/2026, 15:38:50 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 84
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.