home / blog

2026-11-23 · high

CVE-2026-6460: Critical Type Confusion Vulnerability in PostgreSQL

CVE-2026-6460: Type confusion vulnerability in PostgreSQL with public exploit. RCE as system user.

CVE-2026-6460: Critical Type Confusion Vulnerability in PostgreSQL

CVE-2026-6460 is a type confusion vulnerability in PostgreSQL that allows an object creator to execute arbitrary code as the operating system user running the database. The vulnerability is primarily exploited through ALTER ... SET DATA TYPE commands, but other DDL attack routes also exist. The system has inadequate tracking of typed values, and values are not self-identifying.

The severity of this vulnerability is classified as high with a CVSS score of 8.8. The vulnerability was officially published on the National Vulnerability Database on 11/12/2026. A proof of exploit is already available on GitHub, indicating that the exploit is public and could be actively exploited.

To protect against this vulnerability, administrators should immediately update their PostgreSQL instances to the patched versions: 18.7, 17.12, 16.16, 15.20, or 14.25. Alternatively, implement strict access controls to limit who can execute DDL commands. Monitor database activity closely, especially for suspicious attempts to use ALTER SET DATA TYPE or other unusual DDL commands.

At a glance

What
Type confusion vulnerability in PostgreSQL allowing arbitrary code execution as the operating system user via ALTER ... SET DATA TYPE primarily, or other DDL commands.
Severity
High (CVSS 8.8)
Affected versions
PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25
Fix
Update to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25
Status
Published on NVD on 11/12/2026, public exploit already available on GitHub
Action
Apply the patch immediately or update to the latest supported version

Sources: NVD, CVE-2026-6460

← All articles