Bug 2540729 - CVE-2026-61821 postgresql18-pg_partman: authorization bypass to move child tables between schemas during retention [epel-all]
Summary: CVE-2026-61821 postgresql18-pg_partman: authorization bypass to move child ta...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: postgresql18-pg_partman
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Pavol Sloboda
QA Contact:
URL:
Whiteboard: {"flaws": ["a5eacf20-e9c6-4aaa-a9dc-f...
Depends On:
Blocks: CVE-2026-61821
TreeView+ depends on / blocked
 
Reported: 2026-09-24 19:09 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-09-24 19:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-09-24 19:09:24 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, drop_partition_id() and drop_partition_time() use part_config.retention_schema as the target for ALTER TABLE SET SCHEMA and accept any nonempty schema name. A role with partman_user access can select a target schema where the role lacks the normal CREATE privilege, and the background worker performs the relocation with pg_partman_bgw.role privileges, which default to PostgreSQL superuser, bypassing the authorization check that a normal ALTER TABLE SET SCHEMA operation would enforce. This permits unauthorized relocation of retained child tables between schemas. This issue is fixed in version 5.5.0.


Note You need to log in before you can comment on or make changes to this bug.