A PoC/exploit has been discovered for vulnerability CVE-2026-6460
PT ID: PT-2026-141543
Read on dbugs: https://dbu.gs/vulnerability/PT-2026-141543
Vendor: PostgreSQL
Product: PostgreSQL
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.
Link: https://github.com/gabrielunknown/cve-2026-6460_postgresql_rce