Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 79%

CVE-2026-6476: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in PostgreSQL

0
High
VulnerabilityCVE-2026-6476cvecve-2026-6476
Published: 05/14/2026 (05/14/2026, 13:00:11 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected software

Postgresqlmore threats →ai
postgresql/postgresql
pkg:deb/postgresql/postgresql
Affected versions
=17=18

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

AILast updated: 05/21/2026, 15:38:50 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses