Technical impact
Missing authorization in PostgreSQL REASSIGN OWNED allows a role granted INHERIT but not SET to transfer ownership of database objects to the granted role and to reassign database ownership without the CREATEDB privilege. The flaw permits an attacker to manipulate ownership of tables, schemas, and databases, effectively granting themselves elevated privileges. This bypass of role‑level checks falls under the CWE‑267 weakness and can lead to unauthorized data manipulation and potential privilege escalation within the database.
Affected Systems
Affected product: PostgreSQL database server. Versions earlier than 18.7, 17.12, 16.16, 15.20, and 14.25 are impacted. Any installation running those releases is vulnerable; newer releases contain the fix.
Risk and Exploitability
The CVSS score of 4.3 indicates a moderate severity, and the EPSS score of <1% indicates a very low probability of exploitation. The vulnerability is not listed in CISA's KEV catalogue, suggesting no publicly known exploits. Based on the description, attackers need an authenticated role with INHERIT privileges and must execute a REASSIGN OWNED statement, so the attack vector is inferred to be internal to the database system. While it does not allow remote code execution, the ability to alter ownership can provide a foothold for further privilege escalation or data exfiltration depending on the database configuration.
Debian DLA