public inbox for [email protected]
help / color / mirror / Atom feedFrom: Noah Misch <[email protected]>
To: [email protected]
Subject: pgsql: Check CREATE privilege on multirange type schema in CREATE TYPE.
Date: Mon, 11 May 2026 12:19:40 +0000
Message-ID: <[email protected]> (raw)
Check CREATE privilege on multirange type schema in CREATE TYPE.
This omission allowed roles to create multirange types in any
schema, potentially leading to privilege escalations. Note that
when a multirange type name is not specified in CREATE TYPE, it is
automatically placed in the range type's schema, which is checked
at the beginning of DefineRange().
Reported-by: Jelte Fennema-Nio <[email protected]>
Author: Jelte Fennema-Nio <[email protected]>
Reviewed-by: Nathan Bossart <[email protected]>
Reviewed-by: Tomas Vondra <[email protected]>
Security: CVE-2026-6472
Backpatch-through: 14
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/08c397b0234b09084195930dc41d125eca5d334d
Author: Nathan Bossart <[email protected]>
Modified Files
--------------
src/backend/commands/typecmds.c | 7 +++++++
src/test/regress/expected/multirangetypes.out | 16 ++++++++++++++++
src/test/regress/sql/multirangetypes.sql | 16 ++++++++++++++++
3 files changed, 39 insertions(+)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgsql: Check CREATE privilege on multirange type schema in CREATE TYPE.
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox