Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as role with INHERIT-only membership
-
ExploitInvoke REASSIGN OWNED bypassing authorization check
-
ImpactTransfer object/database ownership to granted role
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated PostgreSQL session as a role that has been granted INHERIT membership in another role WITHOUT the SET option; such a role can use REASSIGN OWNED to transfer object ownership to the granted role, which the standard authorization checks (enforced by ALTER ... OWNER) would block. A second condition is reassignment of database ownership by a role lacking the CREATEDB privilege. Limiting factors: the attacker must already hold a valid low-privileged account (PR:L) and the specific INHERIT-but-not-SET grant must exist; impact is limited to integrity of ownership assignments (I:L) with no confidentiality or availability effect. The complete fix is upgrading to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25 per the vendor advisory. |
| Impact | This is a genuine-but-modest-priority issue, not a high-urgency emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N, base 4.3, Medium) shows an authenticated actor (PR:L) over the network with low complexity causing only a low integrity impact and no confidentiality or availability loss. The vuln.today decision label is 'this_month' - a routine patch-cycle priority, consistent with the limited CVSS impact. No EPSS score was provided in the input, so exploitation probability cannot be quantified here; no CISA KEV listing and no proof-of-concept were supplied, so there is no evidence of active or imminent exploitation. SSVC fields (automatable, technical impact) were not provided beyond the 'this_month' label. The core of the flaw is a missing-authorization logic error (CWE-862): REASSIGN OWNED fails to enforce the checks that the equivalent ALTER ... OWNER commands do, letting a role with INHERIT-but-not-SET membership transfer object ownership, and letting database ownership be reassigned without CREATEDB. The signals are internally consistent - a low-impact, privilege-dependent authorization bug in a widely deployed product - so this is a real-but-low-severity authorization-boundary issue to patch in the normal cycle rather than an all-hands event. |
| Exploit ScenarioDerived | An authenticated database user who has been granted INHERIT (but deliberately not SET) membership in another role runs REASSIGN OWNED and transfers ownership of objects to that granted role, bypassing the privilege boundary the administrator intended, and can similarly reassign database ownership despite lacking CREATEDB. The attack requires an existing low-privileged account and a specific grant relationship. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Missing authorization in PostgreSQL's REASSIGN OWNED lets an authenticated role with INHERIT-but-not-SET membership transfer object ownership to the granted role, and it also permits database ownership reassignment without the CREATEDB privilege; PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. The impact is limited to integrity of ownership assignments, with no confidentiality or availability effect, and no public exploit identified at time of analysis. This is a genuine but modest-priority issue rather than a high-urgency emergency.
RemediationAI
Upgrade to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25; the vendor advisory describes upgrading as the complete fix (https://www.postgresql.org/support/security/CVE-2026-120146/). Until the update is applied, exposure depends on the assessed preconditions: the actor must already hold a valid low-privileged PostgreSQL role, and the specific INHERIT-but-not-SET membership grant must exist, or the role must lack CREATEDB while attempting database ownership reassignment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is a CWE-862 missing authorization flaw in PostgreSQL's REASSIGN OWNED handling. PostgreSQL role grants can carry INHERIT and SET attributes; SET permits SET ROLE into the granted role, while INHERIT alone does not. The assessed condition is an authenticated session using a role that has INHERIT membership in another role without SET: REASSIGN OWNED can then transfer object ownership to the granted role even though the equivalent ALTER ... OWNER commands would enforce authorization checks and block it. A second condition allows reassignment of database ownership by a role that lacks CREATEDB. The CPE cpe:2.3:a:n/a:postgresql:*:*:*:*:*:*:*:* identifies PostgreSQL as the affected product, and exploitation requires a valid low-privileged account plus the specific INHERIT-but-not-SET grant; the trigger details beyond those preconditions are not described in the available sources.
Know when PostgreSQL gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
An authenticated low-privileged role (PR:L) exploits a missing check over the network (AV:N/AC:L) to alter ownership (I:L), with no confidentiality or availability impact.
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-124420
GHSA-v5xq-4x8p-53j2
NVD
CVE.org
EPSS
VulDB
Exploit-DB