CVE-2026-6460

Published Nov 12, 2026

Last updated 2 days ago

CVSS high 8.8
PostgreSQL

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-6460 is a type confusion vulnerability in the PostgreSQL core database engine that stems from inadequate tracking of typed values. Because stored values do not carry self-identifying type information, stale values can persist in data dictionary entries, PL/pgSQL variables, and other parts of the system. An authenticated user with object-creation privileges—which can include the default permission to create temporary objects—can trigger this flaw using Data Definition Language (DDL) commands, such as altering column data types (e.g., `ALTER ... SET DATA TYPE`). By manipulating these types, an attacker can execute arbitrary code on the host system with the privileges of the operating system user running the database service. The vulnerability, which security researcher Mehmet Ince traced back to a 22-year-old design choice in PostgreSQL's core, was patched on November 12, 2026. The PostgreSQL Global Development Group addressed the issue in versions 18.7, 17.12, 16.16, 15.20, and 14.25 by introducing version checks to ensure stored values match their expected types. To achieve full protection, administrators must not only update their database binaries but also rebuild any installed C-language extensions, as older compiled extensions may lack the necessary type-checking mechanisms.

Description
Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database, via ALTER ... SET DATA TYPE primarily. Other DDL attack routes exist, such as "ALTER TABLE ... ADD COLUMN; ROLLBACK; ALTER TABLE ... ADD COLUMN". The system had inadequate tracking of typed values, and values were not self-identifying. Stale values could appear in data dictionary entries, PL/pgSQL variables, and many other parts of the system. PostgreSQL Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Source
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
NVD status
Awaiting Analysis

Risk scores

CVSS 3.1

Type
Secondary
Base score
8.8
Impact score
5.9
Exploitability score
2.8
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity
HIGH

Weaknesses

f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CWE-843

Social media

Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.

Hype score

21

References

Sources include official advisories and independent security research.