Threat Feed

CVE-2026-6460: Remote code execution

Exploitation: Public exploit · CVSS 8.8 High · Authenticated · Published 2026-11-12

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.

Fix

Upgrade to 18.7 or 17.12 or 16.16 or 15.20 or 14.25, whichever matches your release line.

Affected versions

ProductVulnerableFixed in
PostgreSQL18 before 18.718.7
PostgreSQL17 before 17.1217.12
PostgreSQL16 before 16.1616.16
PostgreSQL15 before 15.2015.20
PostgreSQL0 before 14.2514.25

Seen in 6 sources