CVE-2026-6469

Description

A flaw was found in PostgreSQL where the ALTER TABLE ALTER TYPE command incorrectly reassigns ownership of dependent statistics objects to the current user. This grants the table owner unauthorized privileges to execute DROP STATISTICS and ALTER STATISTICS while locking out the legitimate owner. The overall impact is limited, as standard DROP TABLE operations still correctly remove the affected objects.

Statement

This flaw has a Low impact on Red Hat products. It provides minimal privilege escalation, as the improperly granted abilities (DROP STATISTICS and ALTER STATISTICS via ALTER TABLE ALTER TYPE) occur within an already highly privileged context where the table owner can simply use DROP TABLE to remove the statistics objects.

Mitigation

To mitigate this, limit the ALTER TABLE ALTER TYPE command to trusted database users. If the command must be used, manually review and restore the correct ownership of any affected extended statistics objects. Additionally, relying on standard DROP TABLE commands for routine object removal safely avoids the primary impacts of this flaw.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score3.8N/A3.8
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredHighN/AHigh
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactLowN/ALow
Availability ImpactLowN/ALow

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L

cve.org: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L

Understanding the Weakness (CWE)

Confidentiality,Integrity

Technical Impact: Read Application Data; Modify Application Data

An attacker could read and modify data for which they do not have permissions to access directly.

Frequently Asked Questions

Want to get errata notifications? Sign up here.