CVE-2026-6470 PUBLISHED

PostgreSQL fails to check type USAGE privilege

Assigner: PostgreSQL
Reserved: 17.04.2026 Published: 13.08.2026 Updated: 13.08.2026

Missing authorization in PostgreSQL DDL commands allows an object creator to achieve denial of service against ALTER and DROP of the type, via creating a dependency on the type. Many DDL operations did check the privilege, but assigning a range subtype and referencing the type from an SQL expression did not. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS Score: 4.3

Product Status

Vendor n/a
Product PostgreSQL
Versions Default: unaffected
  • affected from 18 to 18.5 (excl.)
  • affected from 17 to 17.11 (excl.)
  • affected from 16 to 16.15 (excl.)
  • affected from 15 to 15.19 (excl.)
  • affected from 0 to 14.24 (excl.)

Affected Configurations

attacker has permission to create objects (temporary objects or non-temporary objects in at least one schema)

Credits

  • The PostgreSQL project thanks Jingzhou Fu for reporting this problem.

References

Problem Types

  • Missing Authorization CWE