CVE Catalog

CVE-2026-6460

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.64%

52th percentile - higher than 52% of all known CVEs

Summary

Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database, primarily via ALTER ... SET DATA TYPE. 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, so stale values could appear in data dictionary entries, PL/pgSQL variables, and many other parts of the system.

Risk Assessment

An object creator can execute code as the database OS user, potentially leading to server compromise and privilege escalation. The risk affects data integrity, confidentiality, and system availability.

Recommendation

Update PostgreSQL to version 18.7, 17.12, 16.16, 15.20, or 14.25 (or later). Restrict object creation and DDL execution to trusted users.

Other vulnerabilities in PostgreSQL

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS