CVE-2026-6472

PostgreSQL CREATE TYPE does not check multirange schema CREATE privilege

State
Published
Severity
5.4 Medium
Published
May 14, 2026
Updated
May 14, 2026
Reserved
Apr 17, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NPostgreSQL

Weaknesses

Affected Products

ProductVersions
PostgreSQLn/a
  • 18 to before 18.4Affected
  • 17 to before 17.10Affected
  • 16 to before 16.14Affected
  • 15 to before 15.18Affected
  • before 14.23Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.