Skip to main content

PostgreSQL CVE-2026-6469

| EUVDEUVD-2026-57855 LOW
Incorrect Ownership Assignment (CWE-708)
2026-08-13 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 GHSA-5qv4-w274-5rpv
3.8
CVSS 3.1 · Vendor: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as table owner
  2. Delivery
    Execute ALTER TABLE ALTER TYPE on target table
  3. Exploit
    Ownership of dependent statistics objects silently reassigned
  4. Execution
    Issue DROP STATISTICS on formerly unauthorized objects
  5. Persist
    Query planner loses multi-column statistics
  6. Impact
    Degrade query plan quality for affected queries

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrect ownership assignment
Exploitation Conditions

Exploitation requires the attacker to hold ownership of a PostgreSQL table (PR:H) that has dependent extended statistics objects (created via CREATE STATISTICS) owned by a different database role. The vulnerable code path is triggered specifically by ALTER TABLE ALTER TYPE - changing a column's data type. Without a divergent ownership relationship between the table and its statistics objects, there is no additional unauthorized capability gained beyond what the table owner already controls. Exploitation is further limited by the fact that DROP TABLE can already cascade-delete statistics objects, so this bug only provides a marginal escalation in environments with deliberate separation of table and statistics ownership.

Impact

The CVSS 3.1 base score of 3.8 (Low) is well-calibrated for this vulnerability. The vector AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L reflects that exploitation requires existing high-privilege database access (table ownership), no confidentiality is exposed, and the integrity and availability impacts are limited to statistics objects rather than user data. EPSS data is not supplied, but given the low severity, niche exploitation preconditions, and absence of any KEV or POC listing, real-world exploitation probability is low. The described self-limiting factor - that DROP TABLE already removes statistics regardless - further reduces meaningful attacker leverage. This is primarily a privilege-logic correctness issue rather than a data-breach risk. Security teams should prioritize this in scheduled patching cycles rather than emergency response.

Exploit ScenarioDerived

A database user with ownership of a target table connects over the network and executes ALTER TABLE ALTER TYPE on a column, triggering the buggy ownership-reassignment code path. The attacker's user ID is now recorded as owner of any dependent extended statistics objects, even those originally created by a different role. The attacker can then issue DROP STATISTICS against those objects, forcing the query planner to lose multi-column correlation data and potentially degrade query performance. No public exploit code exists for this vulnerability.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 13, 2026

Incorrect ownership reassignment in PostgreSQL's ALTER TABLE ALTER TYPE command allows a table owner to seize control of dependent statistics objects they did not create. Affected versions span all major supported branches prior to 18.5, 17.11, 16.15, 15.19, and 14.24. An authenticated table owner (high-privilege context per CVSS PR:H) can subsequently execute DROP STATISTICS or ALTER STATISTICS against statistics objects owned by another user, while simultaneously locking the legitimate statistics owner out of those same commands. No public exploit code exists and this CVE is not listed in CISA KEV.

RemediationAI

Upgrade to the patched releases: PostgreSQL 18.5, 17.11, 16.15, 15.19, or 14.24, all of which correct the ownership assignment logic in ALTER TABLE ALTER TYPE. The PostgreSQL project advisory at https://www.postgresql.org/support/security/CVE-2026-6469/ provides download links and release notes. If immediate patching is not feasible, a targeted workaround is to audit and consolidate statistics object ownership so that extended statistics objects are always owned by the same role as the underlying table - this eliminates the divergent-ownership scenario the bug can exploit. Restricting ALTER TABLE ALTER TYPE execution to superusers via REVOKE is a more restrictive compensating control but carries significant operational trade-offs for schema management workflows.

Affected VersionsENISA

PostgreSQL 16 <16.15
PostgreSQL 15 <15.19
PostgreSQL 0 <14.24
PostgreSQL 17 <17.11
PostgreSQL 18 <18.5

Affected Packages

euvd postgresql fix: 14.24, 15.19, 16.15, 17.11, 18.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PostgreSQL implements ownership tracking for database objects including extended statistics objects (created via CREATE STATISTICS), which the query planner uses for multi-column correlation estimates. CWE-708 (Incorrect Ownership Assignment) describes the root cause: the ALTER TABLE ALTER TYPE code path, which processes column type changes, iterates over dependent objects to update them but incorrectly sets the pg_statistic_ext owner to the current executing user rather than preserving the original owner. Affected CPE targets all PostgreSQL branches 14.x through 18.x prior to their respective security releases. Because DROP TABLE itself can still cascade to remove statistics objects regardless of this flaw, the practical impact window is narrowed to scenarios where the statistics object owner and table owner differ - a setup requiring deliberate privilege separation.

Know when PostgreSQL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007) PRIMARY 3.8 LOW
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
vuln.today AI 3.8 LOW

Table ownership (PR:H) required to trigger ALTER TABLE ALTER TYPE; impact limited to statistics objects - no confidentiality loss, limited integrity and availability.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007).

CVSS VectorVendor: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch available
Aug 13, 2026 - 14:02 EUVD
CVE Published
Aug 13, 2026 - 13:19 cve.org
LOW 3.8

DescriptionCVE.org

Incorrect ownership assignment in PostgreSQL ALTER TABLE ALTER TYPE command reassigns ownership of dependent statistics objects to the current user. This wrongly allows the table owner to run DROP STATISTICS and ALTER STATISTICS via this improper ownership. It wrongly denies those commands to the prior statistics object owner. DROP TABLE remains able to remove statistics objects, so this exploit achieves nothing in many ownership arrangements. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
High
widely deployed open-source RDBMS across enterprise and cloud environments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

19
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +19
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy