Original 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.
Affected software
- PostgreSQL ≥ 18.0 < 18.5≥ 14.0 < 14.24≥ 17.0 < 17.11≥ 15.0 < 15.19≥ 16.0 < 16.15 Fixed in: 18.5, 14.24, 17.11, 15.19 exact match
Details
- Published
- 2026-08-13
- Last modified
- 2026-08-30
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L- CWE
- CWE-708
- EPSS (30-day exploit probability)
- 0.32% (percentile 25)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.