CVE-2026-6469 PUBLISHED

PostgreSQL ALTER TABLE ALTER TYPE resets extended statistics ownership

Assigner: PostgreSQL
Reserved: 17.04.2026 Published: 13.08.2026 Updated: 13.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
CVSS Score: 3.8

Product Status

Vendor n/a
Product PostgreSQL
Versions Default: unaffected
  • affected from 18 to 18.5 (excl.)
  • affected from 17 to 17.11 (excl.)
  • affected from 16 to 16.15 (excl.)
  • affected from 15 to 15.19 (excl.)
  • affected from 0 to 14.24 (excl.)

Affected Configurations

attacker owns a table; victim owns statistics objects on that table

Credits

  • The PostgreSQL project thanks Noah Misch for reporting this problem.

References

Problem Types

  • Incorrect Ownership Assignment CWE