Description
Missing authorization in PostgreSQL DDL commands allows an object creator to achieve denial of service against ALTER and DROP of the type, via creating a dependency on the type. Many DDL operations did check the privilege, but assigning a range subtype and referencing the type from an SQL expression did not. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.
Published: 2026-08-13
Score: 4.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in PostgreSQL's handling of data definition commands for user‑defined types. A user who creates a type can then create objects that depend on that type or reference it in an expression without the database checking the USAGE privilege associated with the type. This omission allows the creator to cause a denial of service when subsequent ALTER or DROP commands are issued on that type. The attack exploits an authorization bypass (CWE-862) and results in the availability of the database service for operations involving the affected type.

Affected Systems

The issue affects the official PostgreSQL distribution. Versions prior to 18.5, 17.11, 16.15, 15.19, and 14.24 are vulnerable. Systems running these releases should be considered impacted. Newer major versions contain the fix.

Risk and Exploitability

The CVSS score of 4.3 reflects a low severity rating, and the EPSS score is not available, so no current exploitation data exists. The vulnerability is not cataloged in the CISA KEV list. Attacks would require a user with the ability to create types, i.e., an authenticated database role with SELECT/CREATE privileges, and the attacker can trigger the denial by issuing ALTER/DROP commands after inducing a dependency. Because the flaw does not allow arbitrary code execution or data exfiltration, the risk is confined to availability for the affected database objects.

Generated by OpenCVE AI on August 13, 2026 at 15:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PostgreSQL to a release that contains the fix (18.5 or newer, 17.11 or newer, 16.15 or newer, 15.19 or newer, or 14.24 or newer).
  • Restrict the CREATE TYPE privilege to trusted users or roles and remove it from general application users.
  • Audit existing type objects that are referenced in expressions or have dependent objects and re‑create them in a controlled environment to avoid unintended cascading DROP or ALTER operations.

Generated by OpenCVE AI on August 13, 2026 at 15:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql

Thu, 13 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 13 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description Missing authorization in PostgreSQL DDL commands allows an object creator to achieve denial of service against ALTER and DROP of the type, via creating a dependency on the type. Many DDL operations did check the privilege, but assigning a range subtype and referencing the type from an SQL expression did not. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.
Title PostgreSQL fails to check type USAGE privilege
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:N/A:L'}


Subscriptions

Postgresql Postgresql
cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2026-08-13T13:25:18.093Z

Reserved: 2026-04-17T00:22:12.954Z

Link: CVE-2026-6470

cve-icon Vulnrichment

Updated: 2026-08-13T13:25:15.534Z

cve-icon NVD

Status : Received

Published: 2026-08-13T13:19:16.600

Modified: 2026-08-13T14:17:11.980

Link: CVE-2026-6470

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T15:15:13Z

Weaknesses