CVE-2026-6460

high

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.

References

https://github.com/slabbdev/postgresql-type-confusion-cve-2026-6460

https://thehackernews.com/2026/11/postgresql-patches-52-flaws-including.html

https://www.postgresql.org/support/security/CVE-2026-6460/

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-124433

Details

Source: Mitre, NVD

Published: 2026-11-12

Updated: 2026-11-13

Risk Information

CVSS v2

Base Score: 9

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.0059