PostgreSQL <18.5: ALTER TYPE Ownership Bug Enables Priv Escalation
CVE-2026-6469 Published on August 13, 2026

PostgreSQL ALTER TABLE ALTER TYPE resets extended statistics ownership
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.

NVD

Weakness Type

Incorrect Ownership Assignment

The software assigns an owner to a resource, but the owner is outside of the intended control sphere. This may allow the resource to be manipulated by actors outside of the intended control sphere.


Products Associated with CVE-2026-6469

Want to know whenever a new CVE is published for PostgreSQL? stack.watch will email you.