vulnerability

PostgreSQL: CVE-2025-12817: PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege

Severity
4
CVSS
(AV:N/AC:M/Au:S/C:N/I:N/A:P)
Published
Nov 14, 2025
Added
Nov 14, 2025
Modified
Mar 18, 2026

Description

Missing authorization in PostgreSQL CREATE STATISTICS command allows a table owner to achieve denial of service against other CREATE STATISTICS users by creating in any schema. A later CREATE STATISTICS for the same name, from a user having the CREATE privilege, would then fail. Versions before PostgreSQL 18.1, 17.7, 16.11, 15.15, 14.20, and 13.23 are affected.

Solutions

postgres-upgrade-14_20postgres-upgrade-15_15postgres-upgrade-16_11postgres-upgrade-17_7postgres-upgrade-18_1
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.