Skip to main content
VulnerabilityPublished

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

Affects postgresqlSource GCVE Database

0
Compare
Authoritative record:CVE-2025-12817· Low 3.1

Not known to be exploited · CVSS 3.1 Low · fixed in 18.1.0 : update postgresql when convenient.

Data as of 13 Nov 2026, 18:29 UTC

CVSS 3.1 base score
3.1Low
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 18.1.0, 17.7.0, 16.11.0 +3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Bitnamipostgresqlpkg:bitnami/postgresqlOther threatsAffected
  • <13.23.0
  • >=14.0.0 <14.20.0
  • >=15.0.0 <15.15.0
  • >=16.0.0 <16.11.0
  • >=17.0.0 <17.7.0
  • >=18.0.0 <18.1.0
Fixed in
  • 13.23.0
  • 14.20.0
  • 15.15.0
  • 16.11.0
  • 17.7.0
  • 18.1.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…