CVE-2026-6469

PostgreSQL ALTER TABLE ALTER TYPE resets extended statistics ownership

Published Aug 13, 2026 CVSS 3.1 · 3.8 Low EPSS < 1% KEV · Not listed
Description
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.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Analysis

AI-generated

Technical impact

The PostgreSQL ALTER TABLE … ALTER TYPE command incorrectly assigns ownership of the associated statistics objects to the user executing the command. As a result, a table owner can drop or alter statistics that they should not control, while the original owner loses permission. In most cases the attacker cannot affect table data because DROP TABLE can still remove the statistics. The vulnerability involves improper internal state control, identified as CWE‑708.

Affected Systems

This issue affects PostgreSQL releases prior to version 18.6, 17.11, 16.15, 15.19, and 14.24. All installations using these versions are at risk if ALTER TABLE ALTER TYPE is used to modify a table whose statistics objects would be affected. The vulnerability is vendor‑specific to PostgreSQL and its statistics system.

Risk and Exploitability

The CVSS score is 3.8, reflecting a low severity. Because the EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog, the likelihood of active exploitation is currently low. The exploit requires a user with ALTER TABLE privileges, and the best‑case damage is limited to deletion or modification of statistics metadata; it does not affect table data or schema directly. Nevertheless, the misownership may leak permissions or impact query planning accuracy, so it should be addressed promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PostgreSQL to a fixed release (≥ 18.6 or the appropriate minimum patch for your version).
  • Revoke ALTER TABLE ALTER TYPE privileges for roles that do not need to modify statistics objects.
  • For databases where the vulnerability has already exposed statistics objects, explicitly reset the ownership of those objects with ALTER STATISTICS OWNER TO <trusted_user> or by restoring from backup.

Generated by OpenCVE AI on August 30, 2026 at 00:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4740-1 postgresql-15 security update
Debian DSA Debian DSA DSA-6438-1 postgresql-17 security update
Ubuntu USN Ubuntu USN USN-8653-1 PostgreSQL vulnerabilities
History
Type Values Removed Values Added
Description 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. 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.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Type Values Removed Values Added
CPEs cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql
Type Values Removed Values Added
Description 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.
Title PostgreSQL ALTER TABLE ALTER TYPE resets extended statistics ownership
Weaknesses CWE-708
References
Metrics cvssV3_1

{'score': 3.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L'}

Weaknesses
  • CWE-708

    Incorrect Ownership Assignment

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Aug 29, 2026, 11:07 PM
Reserved
Apr 17, 2026, 12:21 AM
Status
Modified
Published
Aug 13, 2026, 1:19 PM
Modified
Aug 29, 2026, 11:17 PM