CVE-2025-8713
postgresql: PostgreSQL optimizer statistics can expose sampled data within a view, partition, or child table
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 14, 2025
Updated · September 23, 2026
Description
An access control bypass flaw has been discovered in PostgreSQL. The PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately, statistics allow a user to read sampled data that a row security policy intended to hide.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE-1230 · Exposure of Sensitive Information Through Metadata