agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Check for USAGE privilege on the composite type in ALTER TABLE O
Date: Mon, 10 Aug 2026 13:41:25 +0000
Message-ID: <E1wtQFp-00000000yA8-2ynM@gemulon.postgresql.org> (raw)
Check for USAGE privilege on the composite type in ALTER TABLE OF.
This omission allowed roles without USAGE on a type to create
tables that depend on it, which could prevent the owner from
changing the type later.
Reported-by: Nathan Bossart <nathandbossart@gmail.com>
Author: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Robert Haas <robertmhaas@gmail.com>
Security: CVE-2026-6470
Backpatch-through: 14
Branch
------
REL_18_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/57f59ca1d954f2de7ac3ef8971046778c955613a
Author: Nathan Bossart <nathan@postgresql.org>
Modified Files
--------------
src/backend/commands/tablecmds.c | 5 +++++
src/test/regress/expected/privileges.out | 6 ++++++
src/test/regress/sql/privileges.sql | 5 +++++
3 files changed, 16 insertions(+)
view thread (6+ messages) latest in thread
Message-ID: <E1wtQFp-00000000yA8-2ynM@gemulon.postgresql.org>
Permalink: ../E1wtQFp-00000000yA8-2ynM@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wtQFp-00000000yA8-2ynM@gemulon.postgresql.org
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: pgsql-committers@postgresql.org
Cc: noah@leadboat.com, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Check for USAGE privilege on the composite type in ALTER TABLE O
In-Reply-To: <E1wtQFp-00000000yA8-2ynM@gemulon.postgresql.org>
* 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