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.
Am I affected?
Sign in and add the software you use to your watchlist: we check it against every new vulnerability.
Show me how to fix itTimeline
- Published by NVD
- Last updated by NVD
- First covered by RedTeamDaily
Coverage
PostgreSQL patches 52 flaws, including 22-year-old authenticated RCE bug
PostgreSQL released updates fixing 52 security flaws, including CVE-2026-6460 (CVSS 8.8), a 22-year-old type confusion bug. An authenticated database user who can create objects can execute code on the server with the rights of the operating system account. Full protection also requires rebuilding any C-language extensions installed on the server. Debian's advisory DSA-6625-1 covers the postgresql-17 package, and Debian will ship the extension rebuilds through upcoming trixie point releases.
Sources: NVD and CISA known exploited vulnerabilities catalogue.