CVE-2026-6472 PUBLISHED

PostgreSQL CREATE TYPE does not check multirange schema CREATE privilege

Assigner: PostgreSQL
Reserved: 17.04.2026 Published: 14.05.2026 Updated: 14.05.2026

Missing authorization in PostgreSQL CREATE TYPE allows an object creator to hijack other queries that use search_path to find user-defined types, including extension-defined types. That is to say, the victim will execute arbitrary SQL functions of the attacker's choice. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

Metrics

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

Product Status

Vendor n/a
Product PostgreSQL
Versions Default: unaffected
  • affected from 18 to 18.4 (excl.)
  • affected from 17 to 17.10 (excl.)
  • affected from 16 to 16.14 (excl.)
  • affected from 15 to 15.18 (excl.)
  • affected from 0 to 14.23 (excl.)

Affected Configurations

victim query finds non-pg_catalog types via search_path

Credits

  • The PostgreSQL project thanks Jelte Fennema-Nio for reporting this problem.

References

Problem Types

  • Missing Authorization CWE