CVE-2026-6460

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.
Configurations

No configuration.

History

12 Nov 2026, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-12 15:17

Updated : 2026-11-13 05:18


NVD link : CVE-2026-6460

Mitre link : CVE-2026-6460

CVE.ORG link : CVE-2026-6460


JSON object : View

Products Affected

No product.

CWE
CWE-843

Access of Resource Using Incompatible Type ('Type Confusion')