Auth bypass in PostgreSQL
CVE-2025-12817
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.1 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.002 (12.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 12th percentile — 12.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- PostgreSQL — versions 18, 17, 16
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-12817?
- CVE-2025-12817 is a low-severity vulnerability in PostgreSQL, classified under Missing Authorization. CVSS score: 3.1/10. Published 2025-11-13.
- How severe is CVE-2025-12817?
- Low severity. CVSS v3 base score is 3.1 out of 10.