CVE-2026-6470

PostgreSQL fails to check type USAGE privilege

Published Aug 13, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Analysis

AI-generated

Technical 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.6, 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 < 1%, 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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PostgreSQL to a release that contains the fix (18.6 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 30, 2026 at 00:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4740-1 postgresql-15 security update
Debian DSA Debian DSA DSA-6438-1 postgresql-17 security update
Ubuntu USN Ubuntu USN USN-8653-1 PostgreSQL vulnerabilities
History
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. 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.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Type Values Removed Values Added
CPEs cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Aug 29, 2026, 11:07 PM
Reserved
Apr 17, 2026, 12:22 AM
Status
Modified
Published
Aug 13, 2026, 1:19 PM
Modified
Aug 29, 2026, 11:17 PM