Authorization Flaw in PostgreSQL Database Ownership Transfer
CVE-2026-120146
4.3MEDIUM
What is CVE-2026-120146?
A significant vulnerability exists within PostgreSQL that allows roles granted the INHERIT attribute, but lacking SET, to transfer database objects to the assigned role. This issue further permits database ownership reassignment without the necessary CREATEDB privilege. Notably, ALTER ... OWNER commands effectively prevent such unauthorized actions. Affected versions include PostgreSQL 18.6 and earlier, as well as respective earlier versions in the 17.x, 16.x, 15.x, and 14.x series.
Affected Version(s)
PostgreSQL 18 < 18.7
PostgreSQL 17 < 17.12
PostgreSQL 16 < 16.16
References
CVSS V3.1
Score:
4.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
The PostgreSQL project thanks Zsolt Parragi for reporting this problem.