
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-6470 is a missing authorization vulnerability in PostgreSQL DDL (Data Definition Language) commands that allows an authenticated object creator to cause a denial of service against ALTER and DROP operations on types by creating artificial dependencies. The flaw exists because authorization checks were absent when assigning a range subtype and when referencing a type from an SQL expression, even though many other DDL operations did enforce privilege checks. Affected versions include PostgreSQL 14.x before 14.24, 15.x before 15.19, 16.x before 16.15, 17.x before 17.11, and 18.x before 18.5. It was published on August 13, 2026, and carries a CVSS v3.1 base score of 4.3 (Medium) (PostgreSQL Advisory, Microsoft MSRC).
The root cause is classified as CWE-862 (Missing Authorization). PostgreSQL's DDL command processing failed to verify privileges in two specific scenarios: (1) when a range type's subtype is assigned, and (2) when a type is referenced from within an SQL expression. An authenticated database user can exploit this by creating a dependency on a target type using either of these unchecked paths, which then prevents other users — including those with appropriate privileges — from executing ALTER TYPE or DROP TYPE on that object. The attack vector is network-based, requires low privileges (any authenticated database user), no user interaction, and low attack complexity (PostgreSQL Advisory).
Successful exploitation results in a denial of service limited to database availability — specifically, the ability to alter or drop PostgreSQL types. There is no confidentiality or integrity impact. Any authenticated database user can block type modification operations for other users, including administrators, by creating type dependencies through the unguarded DDL paths, potentially disrupting schema management and database maintenance workflows (PostgreSQL Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.33%, indicating a low probability of exploitation in the near term. NVD's SSVC assessment classifies exploitation as "none" and technical impact as "partial" (PostgreSQL Advisory).
SELECT typname FROM pg_type WHERE typtype = 'r';).CREATE TYPE myrange AS RANGE (subtype = target_type);ALTER TYPE or DROP TYPE on the target type by other users (including privileged ones) will fail due to the dependency constraint, achieving denial of service on those DDL operations (PostgreSQL Advisory).postgresql.log) showing repeated failed ALTER TYPE or DROP TYPE commands with dependency-related errors (e.g., ERROR: cannot drop type ... because other objects depend on it).SELECT * FROM pg_depend to identify unusual dependency chains on type objects.pg_type entries with typtype = 'r') owned by non-administrative users that reference sensitive or system-managed types.CREATE TYPE ... AS RANGE) executed by users who do not normally perform schema operations.Upgrade PostgreSQL to a patched version: 18.5, 17.11, 16.15, 15.19, or 14.24. As a configuration-based workaround, restrict the CREATE TYPE privilege to trusted users only, limiting which accounts can create range subtypes or reference types in SQL expressions. Additionally, monitor pg_depend for unexpected type dependencies and audit DDL activity by low-privilege users (PostgreSQL Advisory).
The vulnerability was covered by multiple Linux distribution security teams, with Debian, Ubuntu (USN-8653-1), SUSE (SUSE-SU-2026:3793-1), openSUSE, Alpine Linux, and FreeBSD all issuing advisories or package updates. HeroDevs published a blog post noting the broader context of PostgreSQL 14 approaching end-of-life in November 2026 and the accumulation of CVEs in that branch. Coverage was largely routine, reflecting the moderate severity and limited exploitation risk of the issue (Ubuntu Advisory, SUSE Advisory).
Fix availability across major Linux distributions and their releases.
bookworm
postgresql-15: 15.19-0+deb12u1
sid
postgresql-18: 18.6-1
trixie
postgresql-17: 17.11-0+deb13u1
RHEL 8
postgresql:12/postgresql.src
RHEL 9
postgresql.src
RHEL 10
postgresql16.src
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."