CVE-2026-120146

PostgreSQL REASSIGN OWNED bypasses role SET and CREATEDB checks

Published Nov 12, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Missing authorization in PostgreSQL REASSIGN OWNED allows a role granted INHERIT but not SET to transfer objects to the granted role. It also allows reassignment of database ownership without the CREATEDB privilege. The equivalent ALTER ... OWNER commands block this. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PostgreSQL to a fixed release (18.7, 17.12, 16.16, 15.20, or 14.25 or newer).
  • Review role privileges: remove INHERIT from roles that do not need it or deny SET privileges to those without CREATEDB, limiting the scope of REASSIGN OWNED.
  • audit logging for REASSIGN OWNED and monitor for suspicious activity until the database is patched.

Generated by OpenCVE AI on November 14, 2026 at 22:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4905-1 postgresql-15 security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Weaknesses CWE-267
Vendors & Products Postgresql
Postgresql postgresql
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Description Missing authorization in PostgreSQL REASSIGN OWNED allows a role granted INHERIT but not SET to transfer objects to the granted role. It also allows reassignment of database ownership without the CREATEDB privilege. The equivalent ALTER ... OWNER commands block this. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Title PostgreSQL REASSIGN OWNED bypasses role SET and CREATEDB checks
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-267

    Privilege Defined With Unsafe Actions

  • CWE-862

    Missing Authorization

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Nov 17, 2026, 4:26 PM
Reserved
Oct 30, 2026, 10:45 PM
Status
Awaiting Analysis
Published
Nov 12, 2026, 3:17 PM
Modified
Nov 17, 2026, 5:17 PM
Severity
Moderate
Public date
Nov 12, 2026, 2:15 PM