All vulnerabilities

Servers and applications

CVE-2026-120146

PostgreSQL REASSIGN OWNED bypasses role SET and CREATEDB checks

Severity
Medium 4.3
Published
12 Nov 2026
Last changed
12 Nov 2026
Added to UpHeron
13 Nov 2026
Fixed in
14.25, 15.20, 16.16, 17.12, 18.7
Weakness
Missing authorization (CWE-862)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cna:n/a|postgresql
  • Every version before 14.25
  • From 15 before 15.20
  • From 16 before 16.16
  • From 17 before 17.12
  • From 18 before 18.7

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120146